Skip to content

Commit 12e8bbb

Browse files
committed
Update GitHub Actions to use latest versions
- Update actions/upload-pages-artifact from v2 to v3 - Update actions/deploy-pages from v2 to v4 - Update actions/setup-python from v4 to v5 across all workflows This fixes the deprecation error with actions/upload-artifact v3 that was being used internally by upload-pages-artifact v2.
1 parent 640a11f commit 12e8bbb

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ jobs:
2828
- uses: actions/checkout@v4
2929

3030
- name: Set up Python ${{ matrix.python-version }}
31-
uses: actions/setup-python@v4
31+
uses: actions/setup-python@v5
3232
with:
3333
python-version: ${{ matrix.python-version }}
3434
cache: 'pip'
@@ -68,7 +68,7 @@ jobs:
6868
- uses: actions/checkout@v4
6969

7070
- name: Set up Python
71-
uses: actions/setup-python@v4
71+
uses: actions/setup-python@v5
7272
with:
7373
python-version: "3.11"
7474

.github/workflows/docs.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
- uses: actions/checkout@v4
2424

2525
- name: Set up Python
26-
uses: actions/setup-python@v4
26+
uses: actions/setup-python@v5
2727
with:
2828
python-version: "3.11"
2929
cache: 'pip'
@@ -39,7 +39,7 @@ jobs:
3939
make html
4040
4141
- name: Upload artifact
42-
uses: actions/upload-pages-artifact@v2
42+
uses: actions/upload-pages-artifact@v3
4343
with:
4444
path: docs/_build/html
4545

@@ -53,4 +53,4 @@ jobs:
5353
steps:
5454
- name: Deploy to GitHub Pages
5555
id: deployment
56-
uses: actions/deploy-pages@v2
56+
uses: actions/deploy-pages@v4

.github/workflows/publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
- uses: actions/checkout@v4
1313

1414
- name: Set up Python
15-
uses: actions/setup-python@v4
15+
uses: actions/setup-python@v5
1616
with:
1717
python-version: "3.11"
1818

0 commit comments

Comments
 (0)