ci: fix checksums checking

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

Signed-off-by: Nick Sieger <[email protected]>
This commit is contained in:
Nick Sieger
2022-08-23 10:05:54 -05:00
parent 157d38aa69
commit c07de59a98
+3 -2
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 }}/