From c07de59a98cd06568716c35555b0b3b5a70c2b16 Mon Sep 17 00:00:00 2001 From: Nick Sieger Date: Tue, 23 Aug 2022 10:05:54 -0500 Subject: [PATCH] ci: fix checksums checking Create checksums.txt in a different directory so it doesn't affect the check. Signed-off-by: Nick Sieger --- .github/workflows/ci.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index f9a2ede2..3f269bfe 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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 }}/