Skip to content

Commit

Permalink
CI Use actions upload-artifact and download-artifact v4 (#795)
Browse files Browse the repository at this point in the history
  • Loading branch information
lesteve authored Jan 2, 2025
1 parent 16938a6 commit d434db9
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/deploy-gh-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ jobs:
- name: Upload jupyter-book artifact for preview in PRs
if: ${{ github.event_name == 'pull_request' }}
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: jupyter-book
path: |
Expand Down
7 changes: 3 additions & 4 deletions .github/workflows/jupyter-book-pr-preview.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,10 @@ jobs:
sha: ${{ github.event.workflow_run.head_sha }}
context: 'JupyterBook preview'

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

- name: Get pull request number
Expand Down

0 comments on commit d434db9

Please sign in to comment.