Skip to content

Commit

Permalink
Test goreleaser binaries
Browse files Browse the repository at this point in the history
  • Loading branch information
muXxer committed Aug 9, 2023
1 parent f9644be commit c5323d1
Showing 1 changed file with 28 additions and 4 deletions.
32 changes: 28 additions & 4 deletions .github/workflows/test_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ on:
- 'tools/**'

jobs:
Release:
name: Test release
binaries:
name: Release Binaries
runs-on: ubuntu-latest
container:
image: iotaledger/goreleaser-cgo-cross-compiler:1.21.0
Expand All @@ -22,5 +22,29 @@ jobs:
- name: Check out code into the Go module directory
uses: actions/checkout@v3

- name: Test HORNET Release
run: goreleaser --snapshot --skip-publish --clean
- name: CWD
run: echo "${{ github.workspace }}"

- name: CWD content
run: ls -al

- name: Disable dubious ownership check
run: git config --global --add safe.directory "${{ github.workspace }}"

- name: Release HORNET
run: goreleaser --verbose --skip-publish --clean
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

#Release:
# name: Test release
# runs-on: ubuntu-latest
# container:
# image: iotaledger/goreleaser-cgo-cross-compiler:1.21.0
# volumes: [/repo]
# steps:
# - name: Check out code into the Go module directory
# uses: actions/checkout@v3
#
# - name: Test HORNET Release
# run: goreleaser --snapshot --skip-publish --clean

0 comments on commit c5323d1

Please sign in to comment.