Skip to content

Commit c62040d

Browse files
committed
Include tool name in cache key name
1 parent b33dc64 commit c62040d

File tree

1 file changed

+13
-13
lines changed

1 file changed

+13
-13
lines changed

.github/workflows/build-test.yml

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ jobs:
4141
path: |
4242
~/.cargo/bin/cargo-make
4343
~/.cargo/bin/cargo-make.exe
44-
key: ${{ runner.os }}-${{ steps.cargo-make-version.outputs.hash }}
44+
key: ${{ runner.os }}-make-${{ steps.cargo-make-version.outputs.hash }}
4545
- name: Install cargo-make
4646
if: steps.cargo-make-cache.outputs.cache-hit != 'true'
4747
uses: actions-rs/[email protected]
@@ -80,7 +80,7 @@ jobs:
8080
path: |
8181
~/.cargo/bin/cargo-make
8282
~/.cargo/bin/cargo-make.exe
83-
key: ${{ runner.os }}-${{ steps.cargo-make-version.outputs.hash }}
83+
key: ${{ runner.os }}-make-${{ steps.cargo-make-version.outputs.hash }}
8484
- name: Install cargo-make
8585
if: steps.cargo-make-cache.outputs.cache-hit != 'true'
8686
uses: actions-rs/[email protected]
@@ -129,7 +129,7 @@ jobs:
129129
path: |
130130
~/.cargo/bin/cargo-make
131131
~/.cargo/bin/cargo-make.exe
132-
key: ${{ runner.os }}-${{ steps.cargo-make-version.outputs.hash }}
132+
key: ${{ runner.os }}-make-${{ steps.cargo-make-version.outputs.hash }}
133133
- name: Install cargo-make
134134
if: steps.cargo-make-cache.outputs.cache-hit != 'true'
135135
uses: actions-rs/[email protected]
@@ -157,7 +157,7 @@ jobs:
157157
path: |
158158
~/.cargo/bin/diplomat-tool
159159
~/.cargo/bin/diplomat-tool.exe
160-
key: ${{ runner.os }}-${{ steps.diplomat-version.outputs.rev }}
160+
key: ${{ runner.os }}-diplomat-${{ steps.diplomat-version.outputs.rev }}
161161

162162
- name: Install Diplomat
163163
if: steps.diplomat-cache.outputs.cache-hit != 'true'
@@ -205,7 +205,7 @@ jobs:
205205
path: |
206206
~/.cargo/bin/cargo-make
207207
~/.cargo/bin/cargo-make.exe
208-
key: ${{ runner.os }}-${{ steps.cargo-make-version.outputs.hash }}
208+
key: ${{ runner.os }}-make-${{ steps.cargo-make-version.outputs.hash }}
209209
- name: Install cargo-make
210210
if: steps.cargo-make-cache.outputs.cache-hit != 'true'
211211
uses: actions-rs/[email protected]
@@ -246,7 +246,7 @@ jobs:
246246
path: |
247247
~/.cargo/bin/twiggy
248248
~/.cargo/bin/twiggy.exe
249-
key: ${{ runner.os }}-${{ steps.twiggy-version.outputs.hash }}
249+
key: ${{ runner.os }}-twiggy-${{ steps.twiggy-version.outputs.hash }}
250250
- name: Install twiggy
251251
if: steps.twiggy-cache.outputs.cache-hit != 'true'
252252
uses: actions-rs/[email protected]
@@ -266,7 +266,7 @@ jobs:
266266
path: |
267267
~/.cargo/bin/cargo-make
268268
~/.cargo/bin/cargo-make.exe
269-
key: ${{ runner.os }}-${{ steps.cargo-make-version.outputs.hash }}
269+
key: ${{ runner.os }}-make-${{ steps.cargo-make-version.outputs.hash }}
270270
- name: Install cargo-make
271271
if: steps.cargo-make-cache.outputs.cache-hit != 'true'
272272
uses: actions-rs/[email protected]
@@ -286,7 +286,7 @@ jobs:
286286
path: |
287287
~/.cargo/bin/diplomat-tool
288288
~/.cargo/bin/diplomat-tool.exe
289-
key: ${{ runner.os }}-${{ steps.diplomat-version.outputs.rev }}
289+
key: ${{ runner.os }}-diplomat-${{ steps.diplomat-version.outputs.rev }}
290290

291291
- name: Install Diplomat
292292
if: steps.diplomat-cache.outputs.cache-hit != 'true'
@@ -336,7 +336,7 @@ jobs:
336336
path: |
337337
~/.cargo/bin/cargo-make
338338
~/.cargo/bin/cargo-make.exe
339-
key: ${{ runner.os }}-${{ steps.cargo-make-version.outputs.hash }}
339+
key: ${{ runner.os }}-make-${{ steps.cargo-make-version.outputs.hash }}
340340
- name: Install cargo-make
341341
if: steps.cargo-make-cache.outputs.cache-hit != 'true'
342342
uses: actions-rs/[email protected]
@@ -373,7 +373,7 @@ jobs:
373373
path: |
374374
~/.cargo/bin/cargo-make
375375
~/.cargo/bin/cargo-make.exe
376-
key: ${{ runner.os }}-${{ steps.cargo-make-version.outputs.hash }}
376+
key: ${{ runner.os }}-make-${{ steps.cargo-make-version.outputs.hash }}
377377
- name: Install cargo-make
378378
if: steps.cargo-make-cache.outputs.cache-hit != 'true'
379379
uses: actions-rs/[email protected]
@@ -393,7 +393,7 @@ jobs:
393393
path: |
394394
~/.cargo/bin/cargo-readme
395395
~/.cargo/bin/cargo-readme.exe
396-
key: ${{ runner.os }}-${{ steps.cargo-readme-version.outputs.hash }}
396+
key: ${{ runner.os }}-readme-${{ steps.cargo-readme-version.outputs.hash }}
397397
- name: Install cargo-readme
398398
if: steps.cargo-readme-cache.outputs.cache-hit != 'true'
399399
uses: actions-rs/[email protected]
@@ -694,7 +694,7 @@ jobs:
694694
path: |
695695
~/.cargo/bin/cargo-make
696696
~/.cargo/bin/cargo-make.exe
697-
key: ${{ runner.os }}-${{ steps.cargo-make-version.outputs.hash }}
697+
key: ${{ runner.os }}-make-${{ steps.cargo-make-version.outputs.hash }}
698698

699699
- name: Install cargo-make
700700
if: steps.cargo-make-cache.outputs.cache-hit != 'true'
@@ -715,7 +715,7 @@ jobs:
715715
path: |
716716
~/.cargo/bin/twiggy
717717
~/.cargo/bin/twiggy.exe
718-
key: ${{ runner.os }}-${{ steps.twiggy-version.outputs.hash }}
718+
key: ${{ runner.os }}-twiggy-${{ steps.twiggy-version.outputs.hash }}
719719
- name: Install twiggy
720720
if: steps.twiggy-cache.outputs.cache-hit != 'true'
721721
uses: actions-rs/[email protected]

0 commit comments

Comments
 (0)