From a1ba2fc9effbcb6f49dae1aceb36765f552dc3f8 Mon Sep 17 00:00:00 2001 From: shendeguize <30931540+shendeguize@users.noreply.github.com> Date: Wed, 16 Sep 2026 13:19:14 +0800 Subject: [PATCH] fix(pages): pin artifact upload directly Avoid the upload-pages-artifact composite action rejected by repository policy and advance the exact Core tooling pin. --- .github/workflows/preview-pages.yml | 13 ++++++++++--- release/tooling.json | 2 +- 2 files changed, 11 insertions(+), 4 deletions(-) diff --git a/.github/workflows/preview-pages.yml b/.github/workflows/preview-pages.yml index 09386a1..b0bbdde 100644 --- a/.github/workflows/preview-pages.yml +++ b/.github/workflows/preview-pages.yml @@ -41,9 +41,14 @@ jobs: env: ORGANON_CORE_ROOT: ${{ github.workspace }}/core run: npm run check:site - - uses: actions/upload-pages-artifact@56afc609e74202658d3ffba0e8f6dda462b719fa + - name: Archive Pages artifact + run: tar --dereference --directory product/dist/site/ -cvf "$RUNNER_TEMP/artifact.tar" --exclude=.git --exclude=.github . + - uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 with: - path: product/dist/site/ + name: github-pages-${{ github.run_attempt }} + path: ${{ runner.temp }}/artifact.tar + retention-days: 1 + if-no-files-found: error deploy: needs: build runs-on: ubuntu-24.04 @@ -56,4 +61,6 @@ jobs: url: ${{ steps.deployment.outputs.page_url }} steps: - uses: actions/deploy-pages@d6db90164ac5ed86f2b6aed7e0febac5b3c0c03e - id: deployment \ No newline at end of file + id: deployment + with: + artifact_name: github-pages-${{ github.run_attempt }} \ No newline at end of file diff --git a/release/tooling.json b/release/tooling.json index ec91fe5..983c1b9 100644 --- a/release/tooling.json +++ b/release/tooling.json @@ -6,6 +6,6 @@ }, "core": { "repository": "shendeguize/OrganonCore", - "commit": "28f5a01274489ae6795e6b76b34c74426b16d550" + "commit": "d6537446ed3a365dc1a4c34ce64f3be691761b3b" } }