Skip to content

Commit

Permalink
Update build artifact permissions (#5387)
Browse files Browse the repository at this point in the history
I found other users reporting a similar issue:

actions/deploy-pages#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
  • Loading branch information
llvm-beanz authored Jul 5, 2023
1 parent 2096d1b commit 8711ee6
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/coverage-gh-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 8711ee6

Please sign in to comment.