Skip to content

Commit

Permalink
.github/workflows/sphinx: test fix downloading the artifact
Browse files Browse the repository at this point in the history
  • Loading branch information
rkdarst committed Jan 8, 2024
1 parent df29493 commit 35a65dc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/sphinx.yml
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ jobs:
touch _gh-pages/.nojekyll
# Save artifact for the next step.
- uses: actions/upload-artifact@master
- uses: actions/upload-artifact@v4
if: ${{ github.event_name == 'push' }}
with:
name: gh-pages-build
Expand All @@ -146,7 +146,7 @@ jobs:
contents: write

steps:
- uses: actions/download-artifact@v3
- uses: actions/download-artifact@v4
if: ${{ github.event_name == 'push' && ( env.MULTIBRANCH == 'true' || github.ref == format('refs/heads/{0}', env.DEFAULT_BRANCH )) }}
with:
name: gh-pages-build
Expand Down

0 comments on commit 35a65dc

Please sign in to comment.