File tree 1 file changed +10
-10
lines changed
1 file changed +10
-10
lines changed Original file line number Diff line number Diff line change 11
11
12
12
steps :
13
13
- name : Checkout
14
- uses : actions/checkout@v1
14
+ uses : actions/checkout@v2
15
15
with :
16
16
fetch-depth : 0
17
17
29
29
repo-token : ${{ secrets.GITHUB_TOKEN }}
30
30
version : 3.x
31
31
32
+ - uses : actions/setup-go@v2
33
+ with :
34
+ go-version : " ^1.16.2"
35
+
32
36
- name : Build
33
37
run : task dist:all
34
38
@@ -83,10 +87,10 @@ jobs:
83
87
# Repackage the signed binary replaced in place by Gon (ignoring the output zip file)
84
88
run : |
85
89
TAG=${GITHUB_REF/refs\/tags\//}
86
- tar cj firmwares \
90
+ tar cjf dist/FirmwareUpdater_${TAG}_macOS_64bit.tar.bz2 \
91
+ firmwares \
87
92
LICENSE.txt \
88
- -C dist/macos64/ FirmwareUpdater \
89
- -f dist/FirmwareUpdater_${TAG}_macOS_64bit.tar.bz2
93
+ -C dist/macos64/ FirmwareUpdater
90
94
91
95
- name : Upload artifacts
92
96
uses : actions/upload-artifact@v2
@@ -131,14 +135,10 @@ jobs:
131
135
if [[ $(/tmp/semver get prerel ${GITHUB_REF/refs\/tags\//}) ]]; then echo "::set-output name=IS_PRE::true"; fi
132
136
133
137
- name : Create Github Release and upload artifacts
134
- id : create_release
135
138
uses : ncipollo/release-action@v1
136
- env :
137
- GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
138
139
with :
139
- tag : ${{ github.ref }}
140
- name : ${{ github.ref }}
140
+ token : ${{ secrets.GITHUB_TOKEN }}
141
141
bodyFile : " dist/CHANGELOG.md"
142
142
draft : false
143
143
prerelease : ${{ steps.prerelease.outputs.IS_PRE }}
144
- artifacts : dist/*
144
+ artifacts : dist/FirmwareUpdater *
You can’t perform that action at this time.
0 commit comments