Skip to content

Commit

Permalink
Update main.yml
Browse files Browse the repository at this point in the history
Update every action to v4
  • Loading branch information
zxyctn authored Apr 22, 2024
1 parent 1c98e3a commit c6fae4b
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,21 +12,21 @@ jobs:
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Setup Node
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: '20'

- name: Cache pnpm modules
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: ~/.pnpm-store
key: ${{ runner.os }}-${{ hashFiles('**/pnpm-lock.yaml') }}
restore-keys: |
${{ runner.os }}-
- uses: pnpm/action-setup@v3
- uses: pnpm/action-setup@v4
with:
version: 9.0.5
run_install: true
Expand All @@ -37,7 +37,7 @@ jobs:
- run: cp -a static/. ./build/ # Copy missing files to build folder

- name: Deploy
uses: peaceiris/actions-gh-pages@v3
uses: peaceiris/actions-gh-pages@v4
if: ${{ github.ref == 'refs/heads/master' }}
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
Expand Down

0 comments on commit c6fae4b

Please sign in to comment.