ci: fix checksums checking

Create checksums.txt in a different directory so it doesn't affect the check.

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

View File

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