From ba1d3571484c3a15a9f3cc5bb09feb7ba808863b Mon Sep 17 00:00:00 2001 From: Ian Chamberlain Date: Wed, 22 Nov 2023 11:47:50 -0500 Subject: [PATCH] Fix file permissions before upload --- .github/workflows/docs.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index c45068a..738dc25 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -21,10 +21,18 @@ jobs: - name: Build workspace docs run: cargo 3ds --verbose doc --verbose --no-deps --workspace + # https://github.com/actions/upload-pages-artifact#file-permissions + - name: Fix file permissions + run: | + chmod -c -R +rX "target/armv6k-nintendo-3ds/doc" | while read line; do + echo "::warning title=Invalid file permissions automatically fixed::$line" + done + - name: Upload generated docs uses: actions/upload-pages-artifact@v2 with: path: ./target/armv6k-nintendo-3ds/doc + deploy: runs-on: ubuntu-latest needs: build