Skip to content

Commit 62e7bd0

Browse files
committed
Fix sha256sum job
1 parent 0241ed9 commit 62e7bd0

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

.github/workflows/nightly-build.yml

+6-3
Original file line numberDiff line numberDiff 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,9 @@ jobs:
200202
- name: Publish Checksums
201203
uses: softprops/[email protected]
202204
with:
203-
draft: true
205+
draft: false
204206
files: SHA256SUMS
207+
tag_name: nightly-${{ needs.release.outputs.sha_short }}
205208
env:
206209
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
207210

0 commit comments

Comments
 (0)