File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2828 uses : actions/cache@v4
2929 with :
3030 path : |
31- ~/.cargo/registry
32- ~/.cargo/git
33- target
31+ ~/.cargo/bin/
32+ ~/.cargo/registry/index/
33+ ~/.cargo/registry/cache/
34+ ~/.cargo/git/db/
35+ target/
3436 key : ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
3537 - name : Build
3638 run : cargo build --profile release
Original file line number Diff line number Diff line change 1+ name : Cache
2+
3+ on :
4+ push :
5+ branches :
6+ - main
7+
8+ jobs :
9+ cache :
10+ name : Cache
11+ runs-on : ${{ matrix.os }}
12+ strategy :
13+ matrix :
14+ include :
15+ - os : macos-latest
16+ artifact_name : rs-wavelog-gate-macos
17+ asset_name : rs-wavelog-gate
18+ - os : windows-latest
19+ artifact_name : rs-wavelog-gate-windows
20+ asset_name : rs-wavelog-gate.exe
21+
22+ steps :
23+ - uses : actions/checkout@v4
24+ - name : Cache
25+ uses : actions/cache@v4
26+ with :
27+ path : |
28+ ~/.cargo/bin/
29+ ~/.cargo/registry/index/
30+ ~/.cargo/registry/cache/
31+ ~/.cargo/git/db/
32+ target/
33+ key : ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
34+ - name : Build
35+ run : cargo build --profile release
36+
37+
38+
You can’t perform that action at this time.
0 commit comments