Merge pull request #9784 from nicksieger/fix-release-checksums

ci: fix checksums checking
This commit is contained in:
Nick Sieger 2022-08-23 10:19:18 -05:00 committed by GitHub
commit 2f2460b40e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 2 deletions

View File

@ -199,8 +199,9 @@ jobs:
name: Create checksums name: Create checksums
working-directory: ${{ env.DESTDIR }} working-directory: ${{ env.DESTDIR }}
run: | run: |
find . -type f -print0 | sort -z | xargs -r0 shasum -a 256 -b | sed 's# .*/# #' > checksums.txt find . -type f -print0 | sort -z | xargs -r0 shasum -a 256 -b | sed 's# .*/# #' > $RUNNER_TEMP/checksums.txt
shasum -a 256 -U -c checksums.txt shasum -a 256 -U -c $RUNNER_TEMP/checksums.txt
mv $RUNNER_TEMP/checksums.txt .
- -
name: License name: License
run: cp packaging/* ${{ env.DESTDIR }}/ run: cp packaging/* ${{ env.DESTDIR }}/