File tree Expand file tree Collapse file tree 3 files changed +12
-12
lines changed
Expand file tree Collapse file tree 3 files changed +12
-12
lines changed Original file line number Diff line number Diff line change 4040 with :
4141 targets : ${{ matrix.platform == 'macos-latest' && 'aarch64-apple-darwin,x86_64-apple-darwin' || '' }}
4242
43- - name : Rust cache
44- uses : swatinem/rust-cache@v2
45- with :
46- workspaces : ' ./app/src-tauri -> target'
43+ - name : Run sccache-cache
44+ uses : mozilla-actions/sccache-action@v0.0.9
4745
4846 - name : Setup Node.js
4947 uses : actions/setup-node@v4
@@ -104,6 +102,8 @@ jobs:
104102 GIT_COMMIT_HASH : ${{ env.GIT_COMMIT_HASH }}
105103 GIT_BRANCH : ${{ env.GIT_BRANCH }}
106104 BUILD_TIMESTAMP : ${{ env.BUILD_TIMESTAMP }}
105+ SCCACHE_GHA_ENABLED : " true"
106+ RUSTC_WRAPPER : " sccache"
107107 with :
108108 projectPath : ' ./app'
109109 tagName : ${{ github.ref_name }}
Original file line number Diff line number Diff line change 4040 with :
4141 targets : ${{ matrix.platform == 'macos-latest' && 'aarch64-apple-darwin,x86_64-apple-darwin' || '' }}
4242
43- - name : Rust cache
44- uses : swatinem/rust-cache@v2
45- with :
46- workspaces : ' ./app/src-tauri -> target'
43+ - name : Run sccache-cache
44+ uses : mozilla-actions/sccache-action@v0.0.9
4745
4846 - name : Setup Node.js
4947 uses : actions/setup-node@v4
7674 GIT_COMMIT_HASH : ${{ env.GIT_COMMIT_HASH }}
7775 GIT_BRANCH : ${{ env.GIT_BRANCH }}
7876 BUILD_TIMESTAMP : ${{ env.BUILD_TIMESTAMP }}
77+ SCCACHE_GHA_ENABLED : " true"
78+ RUSTC_WRAPPER : " sccache"
7979 with :
8080 projectPath : ' ./app'
8181 tagName : v__VERSION__
Original file line number Diff line number Diff line change 3535 with :
3636 targets : ${{ matrix.platform == 'macos-latest' && 'aarch64-apple-darwin,x86_64-apple-darwin' || '' }}
3737
38- - name : Rust cache
39- uses : swatinem/rust-cache@v2
40- with :
41- workspaces : ' ./app/src-tauri -> target'
38+ - name : Run sccache-cache
39+ uses : mozilla-actions/sccache-action@v0.0.9
4240
4341 - name : Setup Node.js
4442 uses : actions/setup-node@v4
6866 GIT_COMMIT_HASH : ${{ env.GIT_COMMIT_HASH }}
6967 GIT_BRANCH : ${{ env.GIT_BRANCH }}
7068 BUILD_TIMESTAMP : ${{ env.BUILD_TIMESTAMP }}
69+ SCCACHE_GHA_ENABLED : " true"
70+ RUSTC_WRAPPER : " sccache"
7171 with :
7272 projectPath : ' ./app'
7373 args : ${{ matrix.args }}
You can’t perform that action at this time.
0 commit comments