Skip to content

Commit

Permalink
simplify cache
Browse files Browse the repository at this point in the history
  • Loading branch information
ZumZoom committed Dec 7, 2023
1 parent 857654d commit 4f24119
Showing 1 changed file with 1 addition and 14 deletions.
15 changes: 1 addition & 14 deletions .github/actions/setup/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,20 +6,7 @@ runs:
- uses: actions/setup-node@v3
with:
node-version: 20

- run: npm install -g yarn
shell: bash

- id: yarn-cache
run: echo "::set-output name=dir::$(yarn cache dir)"
shell: bash

- uses: actions/cache@v3
with:
path: ${{ steps.yarn-cache.outputs.dir }}
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
restore-keys: |
${{ runner.os }}-yarn-
cache: 'yarn'

- run: yarn
shell: bash

0 comments on commit 4f24119

Please sign in to comment.