Skip to content

Commit df30ede

Browse files
committed
refactor: remove caching of Rust dependencies from workflows
1 parent 0e0f783 commit df30ede

File tree

4 files changed

+0
-48
lines changed

4 files changed

+0
-48
lines changed

.github/workflows/beta-release.yml

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -35,16 +35,12 @@ jobs:
3535
include:
3636
- platform: "macos-latest"
3737
args: "--target aarch64-apple-darwin"
38-
cache: "aarch64"
3938
- platform: "macos-latest"
4039
args: "--target x86_64-apple-darwin"
41-
cache: "x86_64"
4240
- platform: "ubuntu-24.04"
4341
args: ""
44-
cache: "x86_64"
4542
- platform: "windows-latest"
4643
args: ""
47-
cache: "x86_64"
4844

4945

5046
runs-on: ${{ matrix.platform }}
@@ -110,16 +106,6 @@ jobs:
110106
with:
111107
targets: ${{ matrix.platform == 'macos-latest' && 'aarch64-apple-darwin,x86_64-apple-darwin' || '' }}
112108

113-
- name: Cache Rust Dependencies
114-
uses: swatinem/rust-cache@v2
115-
with:
116-
shared-key: "global-rust-cache"
117-
key: "target-${{ matrix.platform}}-${{matrix.cache || 'default'}}"
118-
workspaces: src-tauri
119-
cache-all-crates: true
120-
cache-on-failure: true
121-
122-
123109
- name: Install Frontend Dependencies
124110
run: bun install
125111

.github/workflows/dev-release.yml

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -34,16 +34,12 @@ jobs:
3434
include:
3535
- platform: "macos-latest"
3636
args: "--target aarch64-apple-darwin"
37-
cache: "aarch64"
3837
- platform: "macos-latest"
3938
args: "--target x86_64-apple-darwin"
40-
cache: "x86_64"
4139
- platform: "ubuntu-24.04"
4240
args: ""
43-
cache: "x86_64"
4441
- platform: "windows-latest"
4542
args: ""
46-
cache: "x86_64"
4743

4844

4945
runs-on: ${{ matrix.platform }}
@@ -109,16 +105,6 @@ jobs:
109105
with:
110106
targets: ${{ matrix.platform == 'macos-latest' && 'aarch64-apple-darwin,x86_64-apple-darwin' || '' }}
111107

112-
- name: Cache Rust Dependencies
113-
uses: swatinem/rust-cache@v2
114-
with:
115-
shared-key: "global-rust-cache"
116-
key: "target-${{ matrix.platform}}-${{matrix.cache || 'default'}}"
117-
workspaces: src-tauri
118-
cache-all-crates: true
119-
cache-on-failure: true
120-
121-
122108
- name: Install Frontend Dependencies
123109
run: bun install
124110

.github/workflows/manual-release.yml

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -30,16 +30,12 @@ jobs:
3030
include:
3131
- platform: "macos-latest"
3232
args: "--target aarch64-apple-darwin"
33-
cache: "aarch64"
3433
- platform: "macos-latest"
3534
args: "--target x86_64-apple-darwin"
36-
cache: "x86_64"
3735
- platform: "ubuntu-24.04"
3836
args: ""
39-
cache: "x86_64"
4037
- platform: "windows-latest"
4138
args: ""
42-
cache: "x86_64"
4339

4440

4541
runs-on: ${{ matrix.platform }}
@@ -105,16 +101,6 @@ jobs:
105101
with:
106102
targets: ${{ matrix.platform == 'macos-latest' && 'aarch64-apple-darwin,x86_64-apple-darwin' || '' }}
107103

108-
- name: Cache Rust Dependencies
109-
uses: swatinem/rust-cache@v2
110-
with:
111-
shared-key: "global-rust-cache"
112-
key: "target-${{ matrix.platform}}-${{matrix.cache || 'default'}}"
113-
workspaces: src-tauri
114-
cache-all-crates: true
115-
cache-on-failure: true
116-
117-
118104
- name: Install Frontend Dependencies
119105
run: bun install
120106

.github/workflows/stable-release.yml

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -88,12 +88,6 @@ jobs:
8888
with:
8989
targets: ${{ matrix.platform == 'macos-latest' && 'aarch64-apple-darwin,x86_64-apple-darwin' || '' }}
9090

91-
- name: Cache Rust Dependencies
92-
uses: swatinem/rust-cache@v2
93-
with:
94-
workspaces: './src-tauri -> target'
95-
96-
9791
- name: Install Frontend Dependencies
9892
run: bun install
9993

0 commit comments

Comments
 (0)