Skip to content

Commit 18147ad

Browse files
authored
💚 fix build-skia step (#2652)
1 parent 70d05a7 commit 18147ad

File tree

1 file changed

+15
-3
lines changed

1 file changed

+15
-3
lines changed

‎.github/workflows/build-skia.yml

Lines changed: 15 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,22 @@ jobs:
1818
- name: Setup Ninja
1919
uses: seanmiddleditch/gha-setup-ninja@master
2020

21-
- name: Setup
22-
uses: ./.github/actions/setup
21+
- name: Cache dependencies
22+
id: yarn-cache
23+
uses: actions/cache@v3
2324
with:
24-
github_token: ${{ secrets.GITHUB_TOKEN }}
25+
path: |
26+
**/node_modules
27+
.yarn/install-state.gz
28+
key: ${{ runner.os }}-yarn-${{ hashFiles('yarn.lock') }}-${{ hashFiles('**/package.json', '!node_modules/**') }}
29+
restore-keys: |
30+
${{ runner.os }}-yarn-${{ hashFiles('yarn.lock') }}
31+
${{ runner.os }}-yarn-
32+
33+
- name: Install dependencies
34+
if: steps.yarn-cache.outputs.cache-hit != 'true'
35+
run: yarn install --immutable
36+
shell: bash
2537

2638
- name: Build Skia
2739
working-directory: ./packages/skia

0 commit comments

Comments
 (0)