Skip to content

Commit

Permalink
Upgrade upload-artifact action to v4, as v3 will soon stop working
Browse files Browse the repository at this point in the history
Also upgraded upload-pages-artifact, as it has a transitive dependency on upload-artifact, and deploy-pages to work with the upgraded upload-pages-artifact
  • Loading branch information
ianroberts committed Nov 6, 2024
1 parent 8ecf711 commit 639a1ba
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ jobs:

- name: Upload artifact
if: env.GITHUB_PAGES == 'true'
uses: actions/upload-pages-artifact@v1
uses: actions/upload-pages-artifact@v3
with:
# Upload entire repository
path: 'target/site'
Expand Down Expand Up @@ -139,7 +139,7 @@ jobs:
- name: Deploy site to GitHub Pages
id: deployment
uses: actions/deploy-pages@v1
uses: actions/deploy-pages@v4
if: env.GITHUB_PAGES == 'true'

downstream:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/pull-request.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ jobs:

- name: Upload Test Results
if: success() || failure()
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: Test Results
path: |
Expand All @@ -86,7 +86,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Upload
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: Event File
path: ${{ github.event_path }}

0 comments on commit 639a1ba

Please sign in to comment.