File tree Expand file tree Collapse file tree 3 files changed +6
-5
lines changed Expand file tree Collapse file tree 3 files changed +6
-5
lines changed Original file line number Diff line number Diff line change 6
6
branches : ['main']
7
7
8
8
jobs :
9
-
10
9
generate-matrix :
11
10
name : ' Generate matrix from cabal'
12
11
outputs :
@@ -218,7 +217,9 @@ jobs:
218
217
path : ${{ env.PRINTAPI_EXEC_TAR }}
219
218
220
219
collect-test-results :
220
+ name : Collect test results
221
221
runs-on : ubuntu-latest
222
+ needs : ['builds', 'build-alpine']
222
223
steps :
223
224
- name : Install junitparser
224
225
run : |
@@ -252,9 +253,8 @@ jobs:
252
253
merge-multiple : true
253
254
path : ./out
254
255
255
- - name : Release
256
+ - name : Pre-release
256
257
uses : softprops/action-gh-release@v2
257
- if : startsWith(github.ref, 'refs/tags/')
258
258
with :
259
259
prerelease : true
260
260
files : ./out/*
Original file line number Diff line number Diff line change 7
7
- " v*"
8
8
9
9
jobs :
10
-
11
10
generate-matrix :
11
+ if : startsWith(github.ref, 'refs/tags/v')
12
12
name : ' Generate matrix from cabal'
13
13
outputs :
14
14
matrix : ${{ steps.set-matrix.outputs.matrix }}
24
24
version : 0.1.7.1
25
25
26
26
generate-alpine-matrix :
27
+ if : startsWith(github.ref, 'refs/tags/v')
27
28
name : ' Generate Alpine matrix from cabal'
28
29
outputs :
29
30
matrix : ${{ steps.set-matrix.outputs.matrix }}
@@ -251,6 +252,6 @@ jobs:
251
252
- name : Release
252
253
uses : softprops/action-gh-release@v2
253
254
with :
254
- prerelease : ${{ startsWith(github.ref, 'refs/tags/v') }}
255
+ prerelease : true
255
256
draft : true
256
257
files : ./release/*
You can’t perform that action at this time.
0 commit comments