Skip to content

Commit

Permalink
Make cache keys OS-specific
Browse files Browse the repository at this point in the history
.. just to be sure.
  • Loading branch information
tnull committed Aug 12, 2024
1 parent 0d4ff37 commit 30ce72d
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 30ce72d

Please sign in to comment.