I'm going crazy with this goreleaser stuff.... #1267
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Test release | |
on: | |
push: | |
branches: | |
- legacy | |
pull_request: | |
paths-ignore: | |
- 'documentation/**' | |
- 'private_tangle/**' | |
- 'scripts/**' | |
- 'tools/**' | |
jobs: | |
binaries: | |
name: Release Binaries | |
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: 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: Disable dubious ownership check | |
run: git config --global --add safe.directory "*" | |
- name: Disable dubious ownership check | |
run: git config --system --add safe.directory "*" | |
- 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 |