File tree Expand file tree Collapse file tree 1 file changed +19
-19
lines changed Expand file tree Collapse file tree 1 file changed +19
-19
lines changed Original file line number Diff line number Diff line change @@ -140,25 +140,25 @@ jobs:
140
140
steps :
141
141
- uses : actions/checkout@v3
142
142
143
- # - name: Cache cargo installed crates
144
- # uses: actions/cache@v2
145
- # with:
146
- # path: ~/.cargo/bin
147
- # key: ${{ runner.os }}-cargo-installed-crates
148
-
149
- # - name: Cache cargo registry and index
150
- # uses: actions/cache@v2
151
- # with:
152
- # path: |
153
- # ~/.cargo/registry
154
- # ~/.cargo/git
155
- # key: ${{ runner.os }}-cargo-registry-and-index-${{ hashFiles('**/Cargo.lock') }}
156
-
157
- # - name: Cache cargo target dir
158
- # uses: actions/cache@v2
159
- # with:
160
- # path: target
161
- # key: ${{ runner.os }}-cargo-build-target-${{ hashFiles('rust-toolchain', '**/Cargo.lock') }}
143
+ - name : Cache cargo installed crates
144
+ uses : actions/cache@v2
145
+ with :
146
+ path : ~/.cargo/bin
147
+ key : ${{ runner.os }}-${{ matrix.env.TARGET_TRIPLE }}-cargo-installed-crates
148
+
149
+ - name : Cache cargo registry and index
150
+ uses : actions/cache@v2
151
+ with :
152
+ path : |
153
+ ~/.cargo/registry
154
+ ~/.cargo/git
155
+ key : ${{ runner.os }}-${{ matrix.env.TARGET_TRIPLE }}-cargo-registry-and-index-${{ hashFiles('**/Cargo.lock') }}
156
+
157
+ - name : Cache cargo target dir
158
+ uses : actions/cache@v2
159
+ with :
160
+ path : target
161
+ key : ${{ runner.os }}-${{ matrix.env.TARGET_TRIPLE }}-cargo-build-target-${{ hashFiles('rust-toolchain', '**/Cargo.lock') }}
162
162
163
163
- name : Set MinGW as the default toolchain
164
164
if : matrix.env.TARGET_TRIPLE == 'x86_64-pc-windows-gnu'
You can’t perform that action at this time.
0 commit comments