Skip to content

Commit

Permalink
Upgrade action version (apache#190)
Browse files Browse the repository at this point in the history
  • Loading branch information
sy-records authored Jun 21, 2024
1 parent 5951bb4 commit f0ae3c4
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,30 +11,30 @@ jobs:
runs-on: ubuntu-latest
if: "!contains(github.event.head_commit.message, 'skip ci')"
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Cache pnpm modules and build
uses: actions/cache@v2
uses: actions/cache@v4
with:
path: |
node_modules
build
key: ${{ runner.os }}-pnpm-${{ hashFiles('**/pnpm-lock.yaml') }}

- uses: actions/setup-node@v3
- uses: actions/setup-node@v4
with:
node-version: 18

- name: install dependencies
uses: pnpm/action-setup@v2
uses: pnpm/action-setup@v4
with:
version: 8
- name: Get pnpm store directory
shell: bash
run: |
echo "STORE_PATH=$(pnpm store path --silent)" >> $GITHUB_ENV
- uses: actions/cache@v3
name: Setup pnpm cache
- name: Setup pnpm cache
uses: actions/cache@v4
with:
path: ${{ env.STORE_PATH }}
key: ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }}
Expand All @@ -45,7 +45,7 @@ jobs:
- name: build
run: pnpm run build

- uses: peaceiris/actions-gh-pages@v3
- uses: peaceiris/actions-gh-pages@v4
if: github.event_name != 'pull_request'
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
Expand Down

0 comments on commit f0ae3c4

Please sign in to comment.