cache testing 3
This commit is contained in:
parent
143e80022e
commit
515dcdfa0e
1 changed files with 1 additions and 8 deletions
9
.github/workflows/build-macos.yml
vendored
9
.github/workflows/build-macos.yml
vendored
|
@ -9,6 +9,7 @@ on:
|
||||||
- '.gitmodules'
|
- '.gitmodules'
|
||||||
- '.gitignore'
|
- '.gitignore'
|
||||||
- 'LICENSE'
|
- 'LICENSE'
|
||||||
|
- 'cider.lock'
|
||||||
|
|
||||||
permissions:
|
permissions:
|
||||||
contents: write
|
contents: write
|
||||||
|
@ -47,16 +48,8 @@ jobs:
|
||||||
- name: Setup Environment
|
- name: Setup Environment
|
||||||
run: brew install automake #libtool autoconf
|
run: brew install automake #libtool autoconf
|
||||||
|
|
||||||
- name: Cache dependencies
|
|
||||||
uses: actions/cache@v2
|
|
||||||
with:
|
|
||||||
path: ~/.cache/yarn
|
|
||||||
key: yarn-${{ hashFiles('cider.lock') }}
|
|
||||||
restore-keys: yarn-
|
|
||||||
|
|
||||||
- name: Install and Configure Node Modules
|
- name: Install and Configure Node Modules
|
||||||
run: |
|
run: |
|
||||||
mv cider.lock yarn.lock
|
|
||||||
yarn install --frozen-lockfile --cache-folder ~/.cache/yarn
|
yarn install --frozen-lockfile --cache-folder ~/.cache/yarn
|
||||||
cp resources/verror-types node_modules/@types/verror/index.d.ts
|
cp resources/verror-types node_modules/@types/verror/index.d.ts
|
||||||
cp resources/macPackager.js node_modules/app-builder-lib/out/macPackager.js
|
cp resources/macPackager.js node_modules/app-builder-lib/out/macPackager.js
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue