Workaround CI issue on Windows

This commit is contained in:
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

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"