Skip to content

Commit 8f9b9c8

Browse files
committed
f
1 parent 5f6c07f commit 8f9b9c8

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

.github/workflows/build.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -45,23 +45,23 @@ jobs:
4545
id: cache-bitcoind
4646
uses: actions/cache@v4
4747
with:
48-
path: $HOME/bin/bitcoind-${{ runner.os }}-${{ runner.arch }}
48+
path: bin/bitcoind-${{ runner.os }}-${{ runner.arch }}
4949
key: bitcoind-${{ runner.os }}-${{ runner.arch }}
5050
- name: Enable caching for electrs
5151
id: cache-electrs
5252
uses: actions/cache@v4
5353
with:
54-
path: $HOME/bin/electrs-${{ runner.os }}-${{ runner.arch }}
54+
path: bin/electrs-${{ runner.os }}-${{ runner.arch }}
5555
key: electrs-${{ runner.os }}-${{ runner.arch }}
5656
- name: Download bitcoind/electrs and set environment variables
5757
if: "matrix.platform != 'windows-latest' && (steps.cache-bitcoind.outputs.cache-hit != 'true' || steps.cache-electrs.outputs.cache-hit != 'true')"
5858
run: |
5959
source ./contrib/download_bitcoind_electrs.sh
60-
mkdir $HOME/bin
61-
mv "$BITCOIND_EXE" $HOME/bin/bitcoind-${{ runner.os }}-${{ runner.arch }}
62-
mv "$ELECTRS_EXE" $HOME/bin/electrs-${{ runner.os }}-${{ runner.arch }}
63-
echo "BITCOIND_EXE=$HOME/bin/bitcoind-${{ runner.os }}-${{ runner.arch }}" >> "$GITHUB_ENV"
64-
echo "ELECTRS_EXE=$HOME/bin/electrs-${{ runner.os }}-${{ runner.arch }}" >> "$GITHUB_ENV"
60+
mkdir bin
61+
mv "$BITCOIND_EXE" bin/bitcoind-${{ runner.os }}-${{ runner.arch }}
62+
mv "$ELECTRS_EXE" bin/electrs-${{ runner.os }}-${{ runner.arch }}
63+
echo "BITCOIND_EXE=$( pwd )/bin/bitcoind-${{ runner.os }}-${{ runner.arch }}" >> "$GITHUB_ENV"
64+
echo "ELECTRS_EXE=$( pwd )/bin/electrs-${{ runner.os }}-${{ runner.arch }}" >> "$GITHUB_ENV"
6565
- name: Run CI script
6666
shell: bash # Default on Winblows is powershell
6767
run: CI_MINIMIZE_DISK_USAGE=1 ./ci/ci-tests.sh

0 commit comments

Comments
 (0)