Skip to content

Commit 6b35703

Browse files
committed
Try fix caching
... see if dropping $HOME works.
1 parent 2bbb764 commit 6b35703

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

.github/workflows/rust.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -57,23 +57,23 @@ jobs:
5757
id: cache-bitcoind
5858
uses: actions/cache@v4
5959
with:
60-
path: $HOME/bin/bitcoind
60+
path: bin/bitcoind
6161
key: bitcoind-${{ runner.os }}
6262
- name: Enable caching for electrs
6363
id: cache-electrs
6464
uses: actions/cache@v4
6565
with:
66-
path: $HOME/bin/electrs
66+
path: bin/electrs
6767
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: |
7171
source ./scripts/download_bitcoind_electrs.sh
72-
mkdir -p "$HOME"/bin
73-
mv "$BITCOIND_EXE" "$HOME"/bin/bitcoind
74-
mv "$ELECTRS_EXE" "$HOME"/bin/electrs
75-
echo "BITCOIND_EXE=$HOME/bin/bitcoind" >> "$GITHUB_ENV"
76-
echo "ELECTRS_EXE=$HOME/bin/electrs" >> "$GITHUB_ENV"
72+
mkdir -p bin
73+
mv "$BITCOIND_EXE" bin/bitcoind
74+
mv "$ELECTRS_EXE" bin/electrs
75+
echo "BITCOIND_EXE=bin/bitcoind" >> "$GITHUB_ENV"
76+
echo "ELECTRS_EXE=bin/electrs" >> "$GITHUB_ENV"
7777
- name: Build on Rust ${{ matrix.toolchain }}
7878
run: cargo build --verbose --color always
7979
- name: Build with UniFFI support on Rust ${{ matrix.toolchain }}

0 commit comments

Comments
 (0)