From 53243ca5746cc054cc3a0df22dbd0cbc7720e60b Mon Sep 17 00:00:00 2001 From: Chris Bieneman Date: Mon, 3 Jul 2023 16:40:47 -0500 Subject: [PATCH] Update build artifact permissions I found other users reporting a similar issue: https://github.com/actions/deploy-pages/issues/188 The root cause seems to be that the deploy-pages action changed to stop correcting permissions problems in the upload since it was slowing down deployment. The recommended fix is to set the permissions before uploading the artifact. Let's see if this works. --- .github/workflows/coverage-gh-pages.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/coverage-gh-pages.yml b/.github/workflows/coverage-gh-pages.yml index 2146df35dd..f30c9370c1 100644 --- a/.github/workflows/coverage-gh-pages.yml +++ b/.github/workflows/coverage-gh-pages.yml @@ -41,6 +41,8 @@ jobs: run: ninja -C build check-all - name: Generate Report run: ninja -C build generate-coverage-report + - name: Force artificat permissions + run: chmod -c -R +rX ${{github.workspace}}/build/report - name: Upload artifact uses: actions/upload-pages-artifact@v1 with: