Explorar el Código

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]>
Nick Sieger hace 3 años
padre
commit
c07de59a98
Se han modificado 1 ficheros con 3 adiciones y 2 borrados
  1. 3 2
      .github/workflows/ci.yml

+ 3 - 2
.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 }}/