Skip to content

Commit 0d89d93

Browse files
committed
chore: fix release step of publish workflow
1 parent d152e1a commit 0d89d93

File tree

1 file changed

+4
-11
lines changed

1 file changed

+4
-11
lines changed

.github/workflows/publish.yml

+4-11
Original file line numberDiff line numberDiff line change
@@ -81,18 +81,11 @@ jobs:
8181
- name: checkout
8282
uses: actions/checkout@v2
8383

84-
- name: get yarn cache dir
85-
id: yarn-cache-dir
86-
run: echo "::set-output name=dir::$(yarn cache dir)"
87-
88-
- name: yarn cache
89-
uses: actions/cache@v2
90-
id: yarn-cache
84+
- name: setup node
85+
uses: actions/setup-node@v3
9186
with:
92-
path: ${{ steps.yarn-cache-dir-path.outputs.dir }}
93-
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
94-
restore-keys: |
95-
${{ runner.os }}-yarn-
87+
node-version: 16
88+
cache: 'yarn'
9689

9790
- name: yarn install
9891
run: yarn install

0 commit comments

Comments
 (0)