From 5ce4d8a5604e09ce5afa8ba91a5a04983302eac9 Mon Sep 17 00:00:00 2001 From: lights0123 Date: Mon, 30 Aug 2021 19:55:16 -0400 Subject: [PATCH] Workaround CI issue on Windows --- .github/workflows/ci.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index fd96252..84edf92 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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"