Skip to content

Commit

Permalink
fix checksum
Browse files Browse the repository at this point in the history
  • Loading branch information
royshil committed Oct 19, 2023
1 parent bdb0321 commit 17519c8
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,9 @@ jobs:
needs: [BuildMac, BuildLinux, BuildWindows]
permissions:
contents: "write"
defaults:
run:
shell: bash
steps:
- name: "Get Metadata"
id: "metadata"
Expand All @@ -127,7 +130,7 @@ jobs:
shopt -s extglob
echo "### Checksums" > ${{ github.workspace }}/CHECKSUMS.txt
for file in ${{ github.workspace }}/@(*.exe|*.deb|*.ddeb|*.pkg|*.tar.gz|*.tar.xz|*.zip); do
for file in $(find ${{ github.workspace }} -name "*.tar.gz" -o -name "*.zip"); do
echo " ${file##*/}: $(sha256sum "${file}" | cut -d " " -f 1)" >> ${{ github.workspace }}/CHECKSUMS.txt
done
Expand Down

0 comments on commit 17519c8

Please sign in to comment.