Workaround CI issue on Windows

pull/14/head
lights0123 2021-08-30 19:55:16 -04:00
parent ade24ce050
commit 5ce4d8a560
No known key found for this signature in database
GPG Key ID: 28F315322E37972F
1 changed files with 3 additions and 1 deletions

View File

@ -67,7 +67,9 @@ jobs:
- name: build app
run: cd desktop; yarn tauri:build
- name: fake yarn
run: node -e 'fs.writeFileSync("desktop/yarn.lock","")'
run: node -e "eval(process.env.COMMAND)"
env:
COMMAND: 'fs.writeFileSync("desktop/yarn.lock","")'
- uses: tauri-apps/tauri-action@v0
with:
npmScript: "tauri:build"