From c8f93931e537d11c7938011b8b76bd4b09a7e536 Mon Sep 17 00:00:00 2001 From: Vinta Chen Date: Fri, 2 Oct 2026 14:56:09 +0800 Subject: [PATCH] build: bump cache, deploy-pages, upload-pages-artifact actions actions/cache@v4, deploy-pages@v4, and upload-pages-artifact@v4 (which pins a Node 20 upload-artifact SHA) target the deprecated Node.js 20 runtime, so GitHub forced them onto Node 24 with a warning on every deploy run. Co-Authored-By: Claude --- .github/workflows/deploy-website.yml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/deploy-website.yml b/.github/workflows/deploy-website.yml index 89c13a12..87486c46 100644 --- a/.github/workflows/deploy-website.yml +++ b/.github/workflows/deploy-website.yml @@ -43,7 +43,7 @@ jobs: - name: Restore star data cache id: cache-stars - uses: actions/cache/restore@v4 + uses: actions/cache/restore@v6 with: path: website/data/github_stars.json key: github-stars-${{ steps.date.outputs.today }} @@ -58,7 +58,7 @@ jobs: - name: Save star data cache if: steps.fetch-stars.outcome == 'success' - uses: actions/cache/save@v4 + uses: actions/cache/save@v6 with: path: website/data/github_stars.json key: github-stars-${{ steps.date.outputs.today }} @@ -72,7 +72,7 @@ jobs: python -m json.tool website/data/github_stars.json > /dev/null - name: Restore PyPI download data cache - uses: actions/cache/restore@v4 + uses: actions/cache/restore@v6 with: path: website/data/pypi_downloads.tsv key: pypi-downloads-${{ steps.date.outputs.today }} @@ -85,7 +85,7 @@ jobs: - name: Save PyPI download data cache if: steps.fetch-downloads.outcome == 'success' - uses: actions/cache/save@v4 + uses: actions/cache/save@v6 with: path: website/data/pypi_downloads.tsv key: pypi-downloads-${{ steps.date.outputs.today }} @@ -94,9 +94,9 @@ jobs: run: make build - name: Upload artifact - uses: actions/upload-pages-artifact@v4 + uses: actions/upload-pages-artifact@v5 with: path: website/output/ - name: Deploy to GitHub Pages - uses: actions/deploy-pages@v4 + uses: actions/deploy-pages@v5