Skip to content

Commit

Permalink
Merge pull request #341 from tnull/2024-08-make-cache-os-specific
Browse files Browse the repository at this point in the history
Make cache `key`s OS-specific
  • Loading branch information
tnull committed Aug 12, 2024
2 parents 0d4ff37 + 30ce72d commit 2bbb764
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,13 +58,13 @@ jobs:
uses: actions/cache@v4
with:
path: $HOME/bin/bitcoind
key: bitcoind
key: bitcoind-${{ runner.os }}
- name: Enable caching for electrs
id: cache-electrs
uses: actions/cache@v4
with:
path: $HOME/bin/electrs
key: electrs
key: electrs-${{ runner.os }}
- name: Download bitcoind/electrs and set environment variables
if: "matrix.platform != 'windows-latest' && (steps.cache-bitcoind.outputs.cache-hit != 'true' || steps.cache-electrs.outputs.cache-hit != 'true')"
run: |
Expand Down

0 comments on commit 2bbb764

Please sign in to comment.