File tree 1 file changed +6
-3
lines changed
1 file changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -120,7 +120,9 @@ jobs:
120
120
os : ubuntu-22.04
121
121
122
122
runs-on : ${{matrix.os}}
123
-
123
+ # Map a step output to a job output
124
+ outputs :
125
+ sha_short : ${{ steps.vars.outputs.sha_short }}
124
126
steps :
125
127
- uses : actions/checkout@v4
126
128
with :
@@ -191,7 +193,7 @@ jobs:
191
193
env :
192
194
GH_TOKEN : ${{ secrets.GITHUB_TOKEN }}
193
195
run : >-
194
- gh release download ${{ github.ref_name }}
196
+ gh release download nightly- ${{ needs.release.outputs.sha_short }}
195
197
--repo ${{ github.repository }}
196
198
--pattern '*'
197
199
--dir release
@@ -200,8 +202,9 @@ jobs:
200
202
- name : Publish Checksums
201
203
202
204
with :
203
- draft : true
205
+ draft : false
204
206
files : SHA256SUMS
207
+ tag_name : nightly-${{ needs.release.outputs.sha_short }}
205
208
env :
206
209
GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
207
210
You can’t perform that action at this time.
0 commit comments