Skip to content

Commit

Permalink
Artifact workflow support
Browse files Browse the repository at this point in the history
  • Loading branch information
dfm authored Jan 2, 2024
1 parent 74bd9d9 commit a7725e1
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/tutorials.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ jobs:
env:
NOTEBOOK_NAME: ${{ matrix.notebook-name }}

- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
with:
name: executed-${{ hashFiles(matrix.notebook-name) }}
path: ${{ matrix.notebook-name }}
Expand Down Expand Up @@ -80,6 +80,7 @@ jobs:
uses: actions/download-artifact@v4
with:
path: ./executed
merge-multiple: true

- name: Move the executed notebooks to their correct locations
run: find executed -name "*.ipynb" -exec cp {} docs/tutorials \;
Expand All @@ -88,7 +89,7 @@ jobs:
working-directory: docs
run: make dirhtml

- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
with:
name: docs
path: docs/_build/dirhtml
Expand Down

0 comments on commit a7725e1

Please sign in to comment.