Skip to content

Commit

Permalink
Try to add sha256sum for release pkgs
Browse files Browse the repository at this point in the history
  • Loading branch information
hustcer committed Oct 9, 2024
1 parent c9ff3b3 commit 593e3af
Showing 1 changed file with 5 additions and 8 deletions.
13 changes: 5 additions & 8 deletions .github/workflows/release-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -107,24 +107,21 @@ jobs:
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

checksum:
name: Check Sha256sum
sha256sum:
name: Create Sha256sum
needs: release
runs-on: ubuntu-latest
steps:
- name: Download Release Archives
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: >-
gh release download
--repo nushell/nightly
gh release download ${{ github.ref_name }}
--repo ${{ github.repository }}
--pattern '*'
--dir release
${{ github.ref_name }}
- name: Create Checksums
run: |
cd release
shasum -a 256 * > ../SHA256SUMS
run: cd release && shasum -a 256 * > ../SHA256SUMS
- name: Publish Checksums
uses: softprops/[email protected]
with:
Expand Down

0 comments on commit 593e3af

Please sign in to comment.