Skip to content

Commit

Permalink
Add hash step
Browse files Browse the repository at this point in the history
  • Loading branch information
catloversg committed Aug 7, 2024
1 parent 2186e74 commit bc6876c
Showing 1 changed file with 16 additions and 1 deletion.
17 changes: 16 additions & 1 deletion .github/workflows/push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,22 @@ jobs:
- name: "ls"
shell: bash
run:
ls greenworks/build/Release/
ls ./artifacts

- if: matrix.os == 'macos-latest'
name: "Hash"
shell: bash
run: for FILE in ./artifacts/*; do if [ -f "$FILE" ]; then shasum -a 256 $FILE; fi done

- if: matrix.os == 'ubuntu-latest'
name: "Hash"
shell: bash
run: for FILE in ./artifacts/*; do if [ -f "$FILE" ]; then sha256sum $FILE; fi done

- if: matrix.os == 'windows-2019'
name: "Hash"
shell: bash
run: for FILE in ./artifacts/*; do if [ -f "$FILE" ]; then certutil -hashfile $FILE SHA256; fi done

- name: Upload binaries to release
uses: svenstaro/upload-release-action@v2
Expand Down

0 comments on commit bc6876c

Please sign in to comment.