Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update github actions due to deprecation #109

Merged
merged 2 commits into from
Jan 7, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 7 additions & 6 deletions .github/workflows/deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,17 +27,17 @@ jobs:
file: 'builder-oapi.json'
target: 'deploy/releases/${{ matrix.release }}/builder-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
deploy:
needs: releases
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
submodules: true
- uses: actions/setup-node@v2
Expand All @@ -49,14 +49,15 @@ jobs:
cp -r assets ./deploy
cp index.html ./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 ./builder-oapi.yaml -r -t yaml -o ./deploy/builder-oapi.yaml"
- name: Publish to Github Pages
uses: peaceiris/actions-gh-pages@v3
uses: peaceiris/actions-gh-pages@v4
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./deploy
Expand Down
Loading