Skip to content

Commit

Permalink
build: clean bundle cache before build
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewinci committed Oct 17, 2022
1 parent 3f626b3 commit 114c282
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,10 @@ jobs:

- name: (MacOS) Build artifact
if: matrix.os == 'macos-latest' && !startsWith(github.ref, 'refs/tags/v')
run: yarn tauri build -b dmg
run: |
# clean up cached bundle
yarn rimraf src-tauri/target/release/bundle/
yarn tauri build -b dmg
- name: (Windows) Build artifact
if: matrix.os == 'windows-latest' && !startsWith(github.ref, 'refs/tags/v')
Expand Down

0 comments on commit 114c282

Please sign in to comment.