-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Try to add sha256sum for release pkgs
- Loading branch information
Showing
1 changed file
with
5 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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: | ||
|