Skip to content

Commit d7b6188

Browse files
authored
Update GH actions in response to deprecation warning (#239)
1 parent 15c12ed commit d7b6188

File tree

2 files changed

+11
-11
lines changed

2 files changed

+11
-11
lines changed

.github/workflows/comment-docs-download.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ jobs:
99
if: github.event.workflow_run.event == 'pull_request' && github.event.workflow_run.conclusion == 'success'
1010
runs-on: ubuntu-latest
1111
steps:
12-
- uses: actions/github-script@v7
12+
- uses: actions/github-script@v8
1313
with:
1414
script: |
1515
async function insertUpdateComment(owner, repo, issue_number, purpose, body) {

.github/workflows/docs.yml

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,11 @@ jobs:
1717
latest_docs_run: ${{ steps.gatherInfo.outputs.latest_docs_run }}
1818
permissions: read-all # Permissions for the GITHUB_TOKEN
1919
steps:
20-
- uses: actions/checkout@v4
20+
- uses: actions/checkout@v6
2121
with:
2222
# The checkout by default doesn't fetch any history, but for PR
2323
# we want to check which files have been modified.
24-
# The action actions/checkout@v4 squashes the history of the PR,
24+
# The action actions/checkout@v6 squashes the history of the PR,
2525
# into a single commit so we need to fetch with a depth of 2.
2626
fetch-depth: ${{ github.event_name == 'pull_request' && 2 || 0 }}
2727

@@ -47,10 +47,10 @@ jobs:
4747
${{ fromJson(needs.setup.outputs.examplesmatrix) }}
4848

4949
steps:
50-
- uses: actions/checkout@v4
50+
- uses: actions/checkout@v6
5151

5252
- name: setup Python
53-
uses: actions/setup-python@v5
53+
uses: actions/setup-python@v6
5454
with:
5555
python-version: "3.12"
5656

@@ -74,7 +74,7 @@ jobs:
7474
fi
7575
7676
- name: store example as a github artifact
77-
uses: actions/upload-artifact@v4
77+
uses: actions/upload-artifact@v6
7878
with:
7979
name: example-${{ matrix.example-name }}
8080
path: docs/src/examples/* # folders for each example will be merged later
@@ -89,18 +89,18 @@ jobs:
8989
needs: [setup, generate-example]
9090
runs-on: ubuntu-latest
9191
steps:
92-
- uses: actions/checkout@v4
92+
- uses: actions/checkout@v6
9393

9494
- name: setup Python
95-
uses: actions/setup-python@v5
95+
uses: actions/setup-python@v6
9696
with:
9797
python-version: "3.12"
9898

9999
- name: install dependencies
100100
run: python -m pip install -r requirements.txt
101101

102102
- name: Download latest main branch built examples
103-
uses: actions/download-artifact@v4
103+
uses: actions/download-artifact@v7
104104
if: ${{ github.event_name == 'pull_request' }}
105105
with:
106106
path: docs/src/examples
@@ -110,7 +110,7 @@ jobs:
110110
merge-multiple: true
111111

112112
- name: Overwrite examples with the ones built in this run
113-
uses: actions/download-artifact@v4
113+
uses: actions/download-artifact@v7
114114
with:
115115
path: docs/src/examples
116116
pattern: example-*
@@ -120,7 +120,7 @@ jobs:
120120
run: nox -e build_website
121121

122122
- name: store documentation as github artifact to be downloaded by users
123-
uses: actions/upload-artifact@v4
123+
uses: actions/upload-artifact@v6
124124
with:
125125
name: documentation
126126
path: docs/build/html/*

0 commit comments

Comments
 (0)