File tree Expand file tree Collapse file tree 1 file changed +2
-7
lines changed Expand file tree Collapse file tree 1 file changed +2
-7
lines changed Original file line number Diff line number Diff line change 5
5
release :
6
6
types : [published]
7
7
push :
8
- branches :
9
- - build
10
8
paths :
11
9
- " .github/workflows/release.yml"
12
10
pull_request :
21
19
contents : write
22
20
strategy :
23
21
matrix :
24
- goos : [windows, linux ]
25
- goarch : [amd64, 386 ]
22
+ goos : [darwin ]
23
+ goarch : [amd64, arm64 ]
26
24
buildtarget : ['go1.23.6']
27
25
fail-fast : false
28
26
env :
@@ -72,13 +70,11 @@ jobs:
72
70
./*
73
71
74
72
- name : create ZIP archive
75
- if : github.event_name == 'release'
76
73
shell : bash
77
74
run : |
78
75
zip -9vr ./go-for-win7-${{ env.ASSET_NAME }}.zip . -x "./.git/" "./.github/"
79
76
80
77
- name : Compute hashes for file
81
- if : github.event_name == 'release'
82
78
run : |
83
79
FILE=./go-for-win7-${{ env.ASSET_NAME }}.zip
84
80
DGST=$FILE.dgst
89
85
90
86
- name : Upload packages to release
91
87
uses : svenstaro/upload-release-action@v2
92
- if : github.event_name == 'release'
93
88
with :
94
89
repo_token : ${{ secrets.GITHUB_TOKEN }}
95
90
file : ./go-for-win7-${{ env.ASSET_NAME }}.zip*
You can’t perform that action at this time.
0 commit comments