File tree Expand file tree Collapse file tree 2 files changed +80
-132
lines changed Expand file tree Collapse file tree 2 files changed +80
-132
lines changed Original file line number Diff line number Diff line change 38
38
--with-oniguruma=builtin \
39
39
YACC="$(which bison) -y"
40
40
make
41
- cp jq jq-${{ env.SUFFIX }}
42
41
- name : Test
43
42
run : |
44
43
make check
58
57
if-no-files-found : error
59
58
retention-days : 7
60
59
path : |
61
- jq-${{ env.SUFFIX }}
60
+ jq
62
61
macos :
63
62
strategy :
64
63
fail-fast : false
95
94
--with-oniguruma=builtin \
96
95
YACC="$(brew --prefix)/opt/bison/bin/bison -y"
97
96
make
98
- cp jq jq-${{ env.SUFFIX }}
99
97
- name : Test
100
98
run : |
101
99
make check
@@ -115,7 +113,7 @@ jobs:
115
113
if-no-files-found : error
116
114
retention-days : 7
117
115
path : |
118
- jq-${{ env.SUFFIX }}
116
+ jq
119
117
windows :
120
118
strategy :
121
119
fail-fast : false
@@ -157,7 +155,6 @@ jobs:
157
155
--enable-all-static \
158
156
YACC="$(which bison) -y"
159
157
make
160
- cp jq.exe jq-${{ env.SUFFIX }}.exe
161
158
- name : Test
162
159
shell : msys2 {0}
163
160
run : |
@@ -178,7 +175,7 @@ jobs:
178
175
if-no-files-found : error
179
176
retention-days : 7
180
177
path : |
181
- jq-${{ env.SUFFIX }} .exe
178
+ jq.exe
182
179
release :
183
180
runs-on : ubuntu-latest
184
181
permissions :
@@ -199,5 +196,10 @@ jobs:
199
196
TAG_NAME : ${{ github.ref_name }}
200
197
GH_TOKEN : ${{ secrets.GITHUB_TOKEN }}
201
198
run : |
199
+ mkdir release
200
+ cp artifacts/jq-linux-ubuntu-22.04-gcc/jq release/jq-linux-amd64
201
+ cp artifacts/jq-macos-macos-13-gcc/jq release/jq-macos-amd64
202
+ cp artifacts/jq-windows-windows-2022-gcc/jq.exe release/jq-windows-amd64.exe
203
+
202
204
gh release create $TAG_NAME --draft --title "jq ${TAG_NAME#v}" --generate-notes
203
- gh release upload $TAG_NAME --clobber artifacts /jq-*/ *
205
+ gh release upload $TAG_NAME --clobber release /jq-*
You can’t perform that action at this time.
0 commit comments