浏览代码

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 2 年之前
父节点
当前提交
8711ee6e44
共有 1 个文件被更改,包括 2 次插入0 次删除
  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: