Skip to content

Another try

Another try #1268

Workflow file for this run

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
with:
fetch-depth: 0
- run: git fetch --force --tags
- name: CWD
run: echo "${{ github.workspace }}"
- name: CWD content
run: ls -al
- name: Disable dubious ownership check
run: git config --system --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