Workaround CI issue

This commit is contained in:
lights0123 2021-08-30 17:57:59 -04:00
parent eb961b8973
commit ade24ce050
No known key found for this signature in database
GPG key ID: 28F315322E37972F

View file

@ -63,9 +63,12 @@ jobs:
sudo apt-get install -y webkit2gtk-4.0 squashfs-tools sudo apt-get install -y webkit2gtk-4.0 squashfs-tools
- name: install app dependencies - name: install app dependencies
run: yarn run: yarn
# https://github.com/tauri-apps/tauri-action/issues/162
- name: build app
run: cd desktop; yarn tauri:build
- name: fake yarn
run: node -e 'fs.writeFileSync("desktop/yarn.lock","")'
- uses: tauri-apps/tauri-action@v0 - uses: tauri-apps/tauri-action@v0
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with: with:
npmScript: "tauri:build" npmScript: "tauri:build"
projectPath: desktop/ projectPath: desktop/