File tree Expand file tree Collapse file tree 1 file changed +7
-3
lines changed Expand file tree Collapse file tree 1 file changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -120,7 +120,9 @@ jobs:
120120 os : ubuntu-22.04
121121
122122 runs-on : ${{matrix.os}}
123-
123+ # Map a step output to a job output
124+ outputs :
125+ sha_short : ${{ steps.vars.outputs.sha_short }}
124126 steps :
125127 - uses : actions/checkout@v4
126128 with :
@@ -191,7 +193,7 @@ jobs:
191193 env :
192194 GH_TOKEN : ${{ secrets.GITHUB_TOKEN }}
193195 run : >-
194- gh release download ${{ github.ref_name }}
196+ gh release download nightly- ${{ needs.release.outputs.sha_short }}
195197 --repo ${{ github.repository }}
196198 --pattern '*'
197199 --dir release
@@ -200,8 +202,10 @@ jobs:
200202 - name : Publish Checksums
201203202204 with :
203- draft : true
205+ draft : false
206+ prerelease : true
204207 files : SHA256SUMS
208+ tag_name : nightly-${{ needs.release.outputs.sha_short }}
205209 env :
206210 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
207211
You can’t perform that action at this time.
0 commit comments