We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e4a4666 commit e0058fdCopy full SHA for e0058fd
.github/workflows/release.yaml
@@ -18,6 +18,30 @@ jobs:
18
steps:
19
- uses: actions/checkout@v4
20
21
+ - name: Cache cargo registry
22
+ uses: actions/cache@v4
23
+ with:
24
+ path: ~/.cargo/registry
25
+ key: ${{ runner.os }}-cargo-registry-${{ hashFiles('**/Cargo.lock') }}
26
+ restore-keys: |
27
+ ${{ runner.os }}-cargo-registry-
28
+
29
+ - name: Cache cargo index
30
31
32
+ path: ~/.cargo/git
33
+ key: ${{ runner.os }}-cargo-index-${{ hashFiles('**/Cargo.lock') }}
34
35
+ ${{ runner.os }}-cargo-index-
36
37
+ - name: Cache cargo build
38
39
40
+ path: target
41
+ key: ${{ runner.os }}-cargo-build-${{ hashFiles('**/Cargo.lock') }}
42
43
+ ${{ runner.os }}-cargo-build-
44
45
- name: Build
46
run: cargo build --release
47
0 commit comments