File tree Expand file tree Collapse file tree 1 file changed +9
-9
lines changed
Expand file tree Collapse file tree 1 file changed +9
-9
lines changed Original file line number Diff line number Diff line change @@ -57,23 +57,23 @@ jobs:
5757 id : cache-bitcoind
5858 uses : actions/cache@v4
5959 with :
60- path : bin/bitcoind
61- key : bitcoind-${{ runner.os }}
60+ path : bin/bitcoind-${{ runner.os }}-${{ runner.arch }}
61+ key : bitcoind-${{ runner.os }}-${{ runner.arch }}
6262 - name : Enable caching for electrs
6363 id : cache-electrs
6464 uses : actions/cache@v4
6565 with :
66- path : bin/electrs
67- key : electrs-${{ runner.os }}
66+ path : bin/electrs-${{ runner.os }}-${{ runner.arch }}
67+ key : electrs-${{ runner.os }}-${{ runner.arch }}
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 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"
72+ mkdir bin
73+ mv "$BITCOIND_EXE" bin/bitcoind-${{ runner.os }}-${{ runner.arch }}
74+ mv "$ELECTRS_EXE" bin/electrs-${{ runner.os }}-${{ runner.arch }}
75+ echo "BITCOIND_EXE=$( pwd )/ bin/bitcoind-${{ runner.os }}-${{ runner.arch }} " >> "$GITHUB_ENV"
76+ echo "ELECTRS_EXE=$( pwd )/ bin/electrs-${{ runner.os }}-${{ runner.arch }} " >> "$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 }}
You can’t perform that action at this time.
0 commit comments