ci: bring back individual checksum files

Signed-off-by: Nick Sieger <nick@nicksieger.com>
This commit is contained in:
Nick Sieger 2022-08-24 09:04:54 -05:00
parent 23deefd20c
commit 63b126622d
No known key found for this signature in database
GPG Key ID: 222EA328BD6E402A
1 changed files with 2 additions and 1 deletions

View File

@ -199,9 +199,10 @@ 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# .*/# #' > $RUNNER_TEMP/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 $RUNNER_TEMP/checksums.txt shasum -a 256 -U -c $RUNNER_TEMP/checksums.txt
mv $RUNNER_TEMP/checksums.txt . mv $RUNNER_TEMP/checksums.txt .
cat checksums.txt | while read sum file; do echo "$sum $file" > ${file#\*}.sha256; done
- -
name: License name: License
run: cp packaging/* ${{ env.DESTDIR }}/ run: cp packaging/* ${{ env.DESTDIR }}/