Skip to content

Commit

Permalink
Fix sha256sum job
Browse files Browse the repository at this point in the history
  • Loading branch information
hustcer committed Oct 22, 2024
1 parent 0241ed9 commit 5ac916d
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions .github/workflows/nightly-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,9 @@ jobs:
os: ubuntu-22.04

runs-on: ${{matrix.os}}

# Map a step output to a job output
outputs:
sha_short: ${{ steps.vars.outputs.sha_short }}
steps:
- uses: actions/checkout@v4
with:
Expand Down Expand Up @@ -191,7 +193,7 @@ jobs:
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: >-
gh release download ${{ github.ref_name }}
gh release download nightly-${{ needs.release.outputs.sha_short }}
--repo ${{ github.repository }}
--pattern '*'
--dir release
Expand All @@ -200,8 +202,10 @@ jobs:
- name: Publish Checksums
uses: softprops/[email protected]
with:
draft: true
draft: false
prerelease: true
files: SHA256SUMS
tag_name: nightly-${{ needs.release.outputs.sha_short }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

Expand Down

0 comments on commit 5ac916d

Please sign in to comment.