Skip to content

Commit 6e3e010

Browse files
SilverRainZMiniMax
andauthored
fix: upgrade actions for Node.js 24 support (#57)
* fix: upgrade all GitHub Actions to latest versions for Node.js 24 support * fix: Pin actions/upload-pages-artifact to v5.0.0 actions/upload-pages-artifact#142 --------- Co-authored-by: MiniMax <models@minimax.io>
1 parent e9c8f79 commit 6e3e010

1 file changed

Lines changed: 9 additions & 8 deletions

File tree

action.yml

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -54,28 +54,28 @@ runs:
5454
using: "composite"
5555
steps:
5656
- name: Checkout
57-
uses: actions/checkout@v4
57+
uses: actions/checkout@v6
5858
if: ${{ inputs.checkout == 'true' && inputs.cache == 'true' }}
5959
with:
6060
fetch-depth: 0 # Required by sphinxnotes-incrbuild
6161
- name: Checkout
62-
uses: actions/checkout@v4
62+
uses: actions/checkout@v6
6363
if: ${{ inputs.checkout == 'true' && inputs.cache == 'false' }}
6464

6565
- name: Setup python
66-
uses: actions/setup-python@v5
66+
uses: actions/setup-python@v6
6767
if: ${{ inputs.cache == 'true' }}
6868
with:
6969
python-version: ${{ inputs.python_version }}
7070
cache: 'pip'
7171
- name: Setup python
72-
uses: actions/setup-python@v5
72+
uses: actions/setup-python@v6
7373
if: ${{ inputs.cache == 'false' }}
7474
with:
7575
python-version: ${{ inputs.python_version }}
7676

7777
- name: Restore cache
78-
uses: actions/cache@v4
78+
uses: actions/cache@v5
7979
if: ${{ inputs.cache == 'true' }}
8080
with:
8181
path: /tmp/sphinxnotes-incrbuild
@@ -101,7 +101,7 @@ runs:
101101
INPUT_SPHINX_BUILD_OPTIONS: ${{ inputs.sphinx_build_options }}
102102

103103
- name: Setup Pages
104-
uses: actions/configure-pages@v4
104+
uses: actions/configure-pages@v6
105105
if: ${{ inputs.publish == 'true' }}
106106

107107
- name: Fix file permissions
@@ -117,12 +117,13 @@ runs:
117117
INPUT_PATH: ${{ steps.build.outputs.artifact }}
118118

119119
- name: Upload artifact
120-
uses: actions/upload-pages-artifact@v3
120+
# https://github.com/actions/upload-pages-artifact/issues/142
121+
uses: actions/upload-pages-artifact@v5.0.0
121122
if: ${{ inputs.publish == 'true' }}
122123
with:
123124
path: ${{ steps.build.outputs.artifact }}
124125

125126
- id: deployment
126127
name: Deploy to GitHub Pages
127-
uses: actions/deploy-pages@v4
128+
uses: actions/deploy-pages@v5
128129
if: ${{ inputs.publish == 'true' }}

0 commit comments

Comments
 (0)