Skip to content

Commit

Permalink
Update actions/upload|download-artifact from v3 to v4
Browse files Browse the repository at this point in the history
  • Loading branch information
nflaig committed Dec 12, 2024
1 parent 55a4a69 commit 222e722
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions .github/workflows/deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,9 @@ jobs:
file: "keymanager-oapi.json"
target: "deploy/releases/${{ matrix.release }}/keymanager-oapi.json"
- name: Save releases (artifact)
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: releases
name: releases-${{ matrix.release }}
retention-days: 7
path: |
deploy/releases
Expand All @@ -46,11 +46,13 @@ jobs:
cp -r dist ./deploy
cp -r assets ./deploy
cp index.html ./deploy
cp validator-flow.md ./deploy
- name: Restore releases
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: releases
path: deploy/releases
pattern: releases-*
merge-multiple: true
- name: Bundle spec
run: "swagger-cli bundle ./keymanager-oapi.yaml -r -t yaml -o ./deploy/keymanager-oapi.yaml"
- name: Publish to Github Pages
Expand Down

0 comments on commit 222e722

Please sign in to comment.