diff --git a/.github/workflows/deploy-gh-pages.yml b/.github/workflows/deploy-gh-pages.yml index e12f9f7c6..4091264a8 100644 --- a/.github/workflows/deploy-gh-pages.yml +++ b/.github/workflows/deploy-gh-pages.yml @@ -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: | diff --git a/.github/workflows/jupyter-book-pr-preview.yml b/.github/workflows/jupyter-book-pr-preview.yml index b423f4168..c23c2e999 100644 --- a/.github/workflows/jupyter-book-pr-preview.yml +++ b/.github/workflows/jupyter-book-pr-preview.yml @@ -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