From afdf6ae0034d3eb2c08e75a7006247d153127633 Mon Sep 17 00:00:00 2001 From: Francis Bond Date: Tue, 11 Aug 2026 14:53:34 +0200 Subject: [PATCH 1/2] Bump Actions pinned to deprecated Node 20 runtime to Node 24 GitHub deprecated the Node 20 runtime, and runners now force Node 20 actions onto Node 24, which actions/configure-pages@v1 in particular can't handle, breaking the docs build during post-job cleanup (10/20 recent BuildDocsOnWikiEdit runs failing). Bump actions/checkout v4->v7, actions/upload-artifact v4->v7, actions/cache v4->v6, actions/configure-pages v1->v6, and actions/deploy-pages v4->v5, all of which now declare node24. Also update the local buildindex composite action from node20 to node24. Fixes bond-lab/sleeper-service#2 --- .github/actions/buildindex/action.yml | 2 +- .github/workflows/BuildDocs.yml | 16 ++++++++-------- .github/workflows/DailyDocBuildIfWikiUpdates.yml | 4 ++-- 3 files changed, 11 insertions(+), 11 deletions(-) diff --git a/.github/actions/buildindex/action.yml b/.github/actions/buildindex/action.yml index 2b627ae8..4e9fc7bb 100644 --- a/.github/actions/buildindex/action.yml +++ b/.github/actions/buildindex/action.yml @@ -16,5 +16,5 @@ outputs: description: 'The time we greeted you' runs: - using: 'node20' + using: 'node24' main: 'index.js' \ No newline at end of file diff --git a/.github/workflows/BuildDocs.yml b/.github/workflows/BuildDocs.yml index 27b9ea86..a31844e1 100644 --- a/.github/workflows/BuildDocs.yml +++ b/.github/workflows/BuildDocs.yml @@ -51,14 +51,14 @@ jobs: # This repo - name: Checkout docs - uses: actions/checkout@v4 + uses: actions/checkout@v7 with: path: main fetch-depth: 0 # This repo's wiki (the Official docs wiki) - name: Checkout docs wiki repo - uses: actions/checkout@v4 + uses: actions/checkout@v7 with: repository: delph-in/docs.wiki path: docswiki @@ -96,26 +96,26 @@ jobs: ref-to-teaser-path: ./main/latestsites/refToTeaser.json # Upload any output data so users can get at it - - uses: actions/upload-artifact@v4 + - uses: actions/upload-artifact@v7 if: ${{ failure() }} with: name: Site Errors path: main/latestsrc/SiteErrors.json if-no-files-found: ignore # 'warn' or 'ignore' are also available, defaults to `warn` - - uses: actions/upload-artifact@v4 + - uses: actions/upload-artifact@v7 with: name: All Pages path: main/latestsrc/AllPages.json if-no-files-found: ignore # 'warn' or 'ignore' are also available, defaults to `warn` - - uses: actions/upload-artifact@v4 + - uses: actions/upload-artifact@v7 with: name: All Links (working, broken, local, external, etc) path: main/latestsrc/AllLinks.json if-no-files-found: ignore # 'warn' or 'ignore' are also available, defaults to `warn` - - uses: actions/upload-artifact@v4 + - uses: actions/upload-artifact@v7 with: name: Fixes for broken links To Wiki pages path: main/latestsrc/FixesForBrokenLinksToWikiPages.json @@ -125,7 +125,7 @@ jobs: # Build each site with Jekyll - name: Setup Pages - uses: actions/configure-pages@v1 + uses: actions/configure-pages@v6 - name: Build Home with Jekyll uses: actions/jekyll-build-pages@v1 @@ -221,4 +221,4 @@ jobs: steps: - name: Deploy to GitHub Pages id: deployment - uses: actions/deploy-pages@v4 + uses: actions/deploy-pages@v5 diff --git a/.github/workflows/DailyDocBuildIfWikiUpdates.yml b/.github/workflows/DailyDocBuildIfWikiUpdates.yml index e625f68f..d25dc283 100644 --- a/.github/workflows/DailyDocBuildIfWikiUpdates.yml +++ b/.github/workflows/DailyDocBuildIfWikiUpdates.yml @@ -37,7 +37,7 @@ jobs: # Checkout the wiki - name: Checkout DELPH-IN wiki - uses: actions/checkout@v4 + uses: actions/checkout@v7 with: repository: delph-in/docs.wiki path: version_check @@ -62,7 +62,7 @@ jobs: # specified path, and overwrite the file created in the "Create cache file" step in the path - name: Check SHA id: check_sha - uses: actions/cache@v4 + uses: actions/cache@v6 with: path: check-SHA key: check-SHA-${{ steps.head_sha.outputs.head_sha }} From 44dfbc3137fdd9c94deee97f25fb008b087afbdd Mon Sep 17 00:00:00 2001 From: Francis Bond Date: Tue, 11 Aug 2026 15:03:24 +0200 Subject: [PATCH 2/2] Bump upload-pages-artifact to v5 for node24 internal upload-artifact pin Test run on this branch (31493938635) confirmed build succeeds, but still emitted the Node 20 deprecation warning: upload-pages-artifact@v3 internally calls actions/upload-artifact@v4. v5 pins that internal call to upload-artifact@v7 (node24), closing the last gap. --- .github/workflows/BuildDocs.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/BuildDocs.yml b/.github/workflows/BuildDocs.yml index a31844e1..deb1786d 100644 --- a/.github/workflows/BuildDocs.yml +++ b/.github/workflows/BuildDocs.yml @@ -177,7 +177,7 @@ jobs: - name: Upload all the sites to github pages - uses: actions/upload-pages-artifact@v3 + uses: actions/upload-pages-artifact@v5 with: path: main/latestsites/