fix paths

This commit is contained in:
Tensor-Programming 2020-05-28 04:36:02 -04:00 committed by GitHub
parent f576546b86
commit 9c3aec8499
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -58,18 +58,18 @@ jobs:
- name: cache node modules
uses: actions/cache@v1
with:
path: ${{ format('examples/{0}/node_modules', matrix.example) }}
path: ${{ format('examples/node/{0}/node_modules', matrix.example) }}
key: ${{ runner.OS }}-build-${{ hashFiles(format('examples/{0}/yarn.lock', matrix.example)) }}
restore-keys: ${{ runner.OS }}-build-${{ env.cache-name }}-
- name: install via yarn
run: |
cd ./examples/${{ matrix.example }}
cd ./node/examples/${{ matrix.example }}
yarn
- name: build example
run: |
cd ./examples/${{ matrix.example }}
cd ./node/examples/${{ matrix.example }}
yarn build
- name: yarn tauri build
run: |
cd ./examples/${{ matrix.example }}
cd ./node/examples/${{ matrix.example }}
yarn tauri:prod:build