Skip to content

Commit 73aded3

Browse files
committed
fix(ci): remove .cargo cache folder
1 parent 47275ce commit 73aded3

1 file changed

Lines changed: 7 additions & 5 deletions

File tree

.github/workflows/release-ci.yml

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,8 @@ jobs:
3333
- name: Install trunk, wasm-bindgen-cli and wasm target
3434
run: |
3535
rustup target add wasm32-unknown-unknown
36-
cargo install trunk --locked
37-
cargo install wasm-bindgen-cli
36+
cargo install trunk --locked --force
37+
cargo install wasm-bindgen-cli --force
3838
3939
- name: Clean cargo cache and target directory
4040
run: |
@@ -98,18 +98,20 @@ jobs:
9898

9999
- name: Install trunk and wasm-bindgen-cli
100100
run: |
101-
cargo install trunk --locked
102-
cargo install wasm-bindgen-cli
101+
cargo install trunk --locked --force
102+
cargo install wasm-bindgen-cli --force
103103
104104
- name: Create static directory
105105
run: mkdir -p rustmail/static
106106
shell: bash
107107

108-
- name: Clean cargo cache and target directory
108+
- name: Clean all caches
109109
run: |
110110
cargo clean
111111
rm -rf target
112112
rm -rf rustmail_panel/target
113+
rm -rf ~/.cargo/registry/cache
114+
rm -rf ~/.cargo/git/db
113115
shell: bash
114116

115117
- name: Build frontend

0 commit comments

Comments
 (0)