Skip to content

Commit 88d0bbf

Browse files
committed
chore: upgrade github actions
1 parent e48e314 commit 88d0bbf

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

β€Ž.github/workflows/preview-build.ymlβ€Ž

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
yarn build
2424
2525
- name: upload dist artifact
26-
uses: actions/upload-artifact@v2
26+
uses: actions/upload-artifact@v4
2727
with:
2828
name: dist
2929
path: dist/
@@ -35,7 +35,7 @@ jobs:
3535

3636
- name: Upload PR number
3737
if: ${{ always() }}
38-
uses: actions/upload-artifact@v2
38+
uses: actions/upload-artifact@v4
3939
with:
4040
name: pr
4141
path: ./pr-id.txt

β€Ž.github/workflows/preview-deploy.ymlβ€Ž

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
if: github.event.workflow_run.event == 'pull_request' && github.event.workflow_run.conclusion == 'success'
2020
steps:
2121
- name: download pr artifact
22-
uses: dawidd6/action-download-artifact@v2
22+
uses: dawidd6/action-download-artifact@v4
2323
with:
2424
workflow: ${{ github.event.workflow_run.workflow_id }}
2525
name: pr
@@ -29,7 +29,7 @@ jobs:
2929
run: echo "::set-output name=id::$(<pr-id.txt)"
3030

3131
- name: download dist artifact
32-
uses: dawidd6/action-download-artifact@v2
32+
uses: dawidd6/action-download-artifact@v4
3333
with:
3434
workflow: ${{ github.event.workflow_run.workflow_id }}
3535
workflow_conclusion: success
@@ -77,7 +77,7 @@ jobs:
7777
if: github.event.workflow_run.event == 'pull_request' && github.event.workflow_run.conclusion == 'failure'
7878
steps:
7979
- name: download pr artifact
80-
uses: dawidd6/action-download-artifact@v2
80+
uses: dawidd6/action-download-artifact@v4
8181
with:
8282
workflow: ${{ github.event.workflow_run.workflow_id }}
8383
name: pr

0 commit comments

Comments
Β (0)