Skip to content

Commit

Permalink
ci: update deprecated actions
Browse files Browse the repository at this point in the history
  • Loading branch information
mishamyrt committed Jul 19, 2024
1 parent db960ba commit 7810799
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 8 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -56,21 +56,21 @@ jobs:
run: make build-preview

- name: Upload build
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: Lilex
path: build/

- name: Upload reports
if: inputs.check
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: Reports
path: reports/

- name: Upload preview
if: inputs.preview
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: Preview
path: preview/dist
6 changes: 3 additions & 3 deletions .github/workflows/preview-master.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,13 +31,13 @@ jobs:
uses: actions/checkout@v3

- name: Download preview
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: Preview
path: preview/dist

- name: Upload artifact
uses: actions/upload-pages-artifact@v1
uses: actions/upload-pages-artifact@v3
with:
path: ./preview/dist

Expand All @@ -50,4 +50,4 @@ jobs:
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v2
uses: actions/deploy-pages@v4
2 changes: 1 addition & 1 deletion .github/workflows/preview-pr.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
uses: actions/checkout@v3

- name: Download preview
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: Preview
path: preview/dist
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ jobs:
run: make configure

- name: Download build
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: Lilex
path: build
Expand Down Expand Up @@ -81,6 +81,7 @@ jobs:
uses: softprops/action-gh-release@v2
with:
name: ${{ inputs.version }}
tag_name: ${{ inputs.version }}
body_path: notes.md
token: ${{ secrets.USER_PAT }}
prerelease: ${{ contains(inputs.version, '-') }}
Expand Down

0 comments on commit 7810799

Please sign in to comment.