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:
57
57
id : cache-bitcoind
58
58
uses : actions/cache@v4
59
59
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 }}
62
62
- name : Enable caching for electrs
63
63
id : cache-electrs
64
64
uses : actions/cache@v4
65
65
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 }}
68
68
- name : Download bitcoind/electrs and set environment variables
69
69
if : " matrix.platform != 'windows-latest' && (steps.cache-bitcoind.outputs.cache-hit != 'true' || steps.cache-electrs.outputs.cache-hit != 'true')"
70
70
run : |
71
71
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"
77
77
- name : Build on Rust ${{ matrix.toolchain }}
78
78
run : cargo build --verbose --color always
79
79
- name : Build with UniFFI support on Rust ${{ matrix.toolchain }}
You can’t perform that action at this time.
0 commit comments