Skip to content

Commit 7d77829

Browse files
supachai-jclaude
andcommitted
Bump GitHub Actions to Node-24-native majors (drop Node 20 deprecation)
Node 20 actions are deprecated (forced to Node 24 from 2026-06-16). Pin to the current majors that run on Node 24: - book.yml: checkout v4→v6, configure-pages v5→v6, upload-pages-artifact v3→v5, deploy-pages v4→v5 - .gitea/conformance.yml: checkout v4→v6, setup-python v5→v6, upload-artifact v4→v7 Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
1 parent c4f753e commit 7d77829

2 files changed

Lines changed: 7 additions & 7 deletions

File tree

.gitea/workflows/conformance.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@ jobs:
1111
validate:
1212
runs-on: ubuntu-latest
1313
steps:
14-
- uses: actions/checkout@v4
15-
- uses: actions/setup-python@v5
14+
- uses: actions/checkout@v6
15+
- uses: actions/setup-python@v6
1616
with:
1717
python-version: "3.13"
1818
- name: Validate OKF conformance (blocks merge on failure)
@@ -22,7 +22,7 @@ jobs:
2222
- name: Regenerate viewer
2323
run: python3 tools/okf-viz.py --name "Self-OKF Wiki"
2424
- name: Upload viewer artifact
25-
uses: actions/upload-artifact@v4
25+
uses: actions/upload-artifact@v7
2626
with:
2727
name: okf-viz
2828
path: wiki/viz.html

.github/workflows/book.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
env:
2323
MDBOOK_VERSION: "0.4.40"
2424
steps:
25-
- uses: actions/checkout@v4
25+
- uses: actions/checkout@v6
2626
- name: Install mdBook
2727
run: |
2828
curl -sSL "https://github.com/rust-lang/mdBook/releases/download/v${MDBOOK_VERSION}/mdbook-v${MDBOOK_VERSION}-x86_64-unknown-linux-gnu.tar.gz" \
@@ -71,8 +71,8 @@ jobs:
7171
}
7272
gen "$PWD/book/book/print.html" "$PWD/book/book/okf-manual-th.pdf" "คู่มือ Open Knowledge Format (OKF)" "เรียบเรียง Supachai Jaturaprom [TumEz] · เขียนโดย Claude Code — Opus 4.8 (AI)" "$PWD/book/src/SUMMARY.md" "$PWD/book/src" || true
7373
gen "$PWD/book-en/book/print.html" "$PWD/book/book/en/okf-manual-en.pdf" "The Open Knowledge Format (OKF) Handbook" "Compiled by Supachai Jaturaprom [TumEz] · Written by Claude Code — Opus 4.8 (AI)" "$PWD/book-en/src/SUMMARY.md" "$PWD/book-en/src" || true
74-
- uses: actions/configure-pages@v5
75-
- uses: actions/upload-pages-artifact@v3
74+
- uses: actions/configure-pages@v6
75+
- uses: actions/upload-pages-artifact@v5
7676
with:
7777
path: book/book
7878

@@ -84,4 +84,4 @@ jobs:
8484
url: ${{ steps.deployment.outputs.page_url }}
8585
steps:
8686
- id: deployment
87-
uses: actions/deploy-pages@v4
87+
uses: actions/deploy-pages@v5

0 commit comments

Comments
 (0)