-
Notifications
You must be signed in to change notification settings - Fork 151
46 lines (41 loc) · 1.15 KB
/
test_release.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
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: Disable dubious ownership check
run: git config --global --add safe.directory "*"
- name: Fetch all tags for GoReleaser
run: git fetch --force --tags
- 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