-
Notifications
You must be signed in to change notification settings - Fork 151
56 lines (47 loc) · 1.4 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
47
48
49
50
51
52
53
54
55
56
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