Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
RoseBlume committed Nov 2, 2024
1 parent 5009f3a commit 411e53c
Showing 1 changed file with 1 addition and 13 deletions.
14 changes: 1 addition & 13 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,18 +28,6 @@ jobs:
run: |
sudo apt-get update
sudo apt-get install -y libwebkit2gtk-4.1-dev libappindicator3-dev librsvg2-dev patchelf alsa
- name: Remove Modules(Linux)
if: matrix.platform == 'ubuntu-lastest'
run: |
sudo rm -r node_modules
sudo rm src-tauri/vendor
sudo rm src-tauri/.cargo
- name: Remove Modules(Windows)
if: matrix.platform == 'windows-latest'
run: |
Remove-Item -Recurse -Force node_modules
Remove-Item -Recurse -Force src-tauri\vendor
Remove-Item -Recurse -Force src-tauri\.cargo
- name: setup pnpm
uses: pnpm/action-setup@v4
with:
Expand All @@ -63,7 +51,7 @@ jobs:

- name: install frontend dependencies
# If you don't have `beforeBuildCommand` configured you may want to build your frontend here too.
run: npm install --no-frozen-lockfile # change this to npm or pnpm depending on which one you use.
run: npm install --cache node_modules --offline # change this to npm or pnpm depending on which one you use.

- uses: tauri-apps/tauri-action@v0
env:
Expand Down

0 comments on commit 411e53c

Please sign in to comment.