Skip to content

Commit 2bbb764

Browse files
authored
Merge pull request #341 from tnull/2024-08-make-cache-os-specific
Make cache `key`s OS-specific
2 parents 0d4ff37 + 30ce72d commit 2bbb764

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/rust.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,13 +58,13 @@ jobs:
5858
uses: actions/cache@v4
5959
with:
6060
path: $HOME/bin/bitcoind
61-
key: bitcoind
61+
key: bitcoind-${{ runner.os }}
6262
- name: Enable caching for electrs
6363
id: cache-electrs
6464
uses: actions/cache@v4
6565
with:
6666
path: $HOME/bin/electrs
67-
key: electrs
67+
key: electrs-${{ runner.os }}
6868
- name: Download bitcoind/electrs and set environment variables
6969
if: "matrix.platform != 'windows-latest' && (steps.cache-bitcoind.outputs.cache-hit != 'true' || steps.cache-electrs.outputs.cache-hit != 'true')"
7070
run: |

0 commit comments

Comments
 (0)