Skip to content

Commit d434db9

Browse files
authored
CI Use actions upload-artifact and download-artifact v4 (#795)
1 parent 16938a6 commit d434db9

File tree

2 files changed

+4
-5
lines changed

2 files changed

+4
-5
lines changed

.github/workflows/deploy-gh-pages.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ jobs:
5858
5959
- name: Upload jupyter-book artifact for preview in PRs
6060
if: ${{ github.event_name == 'pull_request' }}
61-
uses: actions/upload-artifact@v3
61+
uses: actions/upload-artifact@v4
6262
with:
6363
name: jupyter-book
6464
path: |

.github/workflows/jupyter-book-pr-preview.yml

+3-4
Original file line numberDiff line numberDiff line change
@@ -19,11 +19,10 @@ jobs:
1919
sha: ${{ github.event.workflow_run.head_sha }}
2020
context: 'JupyterBook preview'
2121

22-
- uses: dawidd6/action-download-artifact@v2
22+
- uses: actions/download-artifact@v4
2323
with:
24-
github_token: ${{secrets.GITHUB_TOKEN}}
25-
workflow: deploy-gh-pages.yml
26-
run_id: ${{ github.event.workflow_run.id }}
24+
github-token: ${{secrets.GITHUB_TOKEN}}
25+
run-id: ${{ github.event.workflow_run.id }}
2726
name: jupyter-book
2827

2928
- name: Get pull request number

0 commit comments

Comments
 (0)