Skip to content

Commit

Permalink
chore: upgrade ci action version
Browse files Browse the repository at this point in the history
  • Loading branch information
jiazengp committed Oct 12, 2024
1 parent c3ffbf3 commit 5869633
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/preview.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
${{ runner.os }}-
- name: Install dependencies
uses: pnpm/action-setup@v2
uses: pnpm/action-setup@v4
with:
run_install: true

Expand All @@ -39,7 +39,7 @@ jobs:
run: pnpm vitepress build --outDir _dist --base /

- name: download pr artifact
uses: dawidd6/action-download-artifact@v2
uses: dawidd6/action-download-artifact@v6
with:
workflow: ${{ github.event.workflow_run.workflow_id }}
run_id: ${{ github.event.workflow_run.id }}
Expand All @@ -50,7 +50,7 @@ jobs:
run: echo "::set-output name=id::$(<pr-id.txt)"

- name: download _site artifact
uses: dawidd6/action-download-artifact@v2
uses: dawidd6/action-download-artifact@v6
with:
workflow: ${{ github.event.workflow_run.workflow_id }}
run_id: ${{ github.event.workflow_run.id }}
Expand Down Expand Up @@ -101,7 +101,7 @@ jobs:
github.event.workflow_run.conclusion == 'failure'
steps:
- name: download pr artifact
uses: dawidd6/action-download-artifact@v2
uses: dawidd6/action-download-artifact@v6
with:
workflow: ${{ github.event.workflow_run.workflow_id }}
run_id: ${{ github.event.workflow_run.id }}
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/test-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ jobs:
${{ runner.os }}-
- name: Install dependencies
uses: pnpm/action-setup@v2
uses: pnpm/action-setup@v4
with:
run_install: true

Expand All @@ -47,7 +47,7 @@ jobs:
zip -r _site.zip ./_dist
- name: upload _site artifact
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
name: _site
path: _site.zip
Expand All @@ -59,7 +59,7 @@ jobs:

- name: Upload PR number
if: ${{ always() }}
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
name: pr
path: ./pr-id.txt

0 comments on commit 5869633

Please sign in to comment.