Procházet zdrojové kódy

Update build artifact permissions (#5387)

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.

Fixes #5376
Chris B před 2 roky
rodič
revize
8711ee6e44
1 změnil soubory, kde provedl 2 přidání a 0 odebrání
  1. 2 0
      .github/workflows/coverage-gh-pages.yml

+ 2 - 0
.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 artifact permissions
+        run: chmod -c -R +rX ${{github.workspace}}/build/report
       - name: Upload artifact
         uses: actions/upload-pages-artifact@v1
         with: