Skip to content

Commit 3b645b3

Browse files
authored
Merge pull request #344 from tnull/2024-08-try-fix-caching-3
Fix caching third attempt
2 parents dffb790 + 0cfb829 commit 3b645b3

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/rust.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,13 +65,15 @@ jobs:
6565
with:
6666
path: bin/electrs-${{ runner.os }}-${{ runner.arch }}
6767
key: electrs-${{ runner.os }}-${{ runner.arch }}
68-
- name: Download bitcoind/electrs and set environment variables
68+
- name: Download bitcoind/electrs
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
7272
mkdir bin
7373
mv "$BITCOIND_EXE" bin/bitcoind-${{ runner.os }}-${{ runner.arch }}
7474
mv "$ELECTRS_EXE" bin/electrs-${{ runner.os }}-${{ runner.arch }}
75+
- name: Set bitcoind/electrs environment variables
76+
run: |
7577
echo "BITCOIND_EXE=$( pwd )/bin/bitcoind-${{ runner.os }}-${{ runner.arch }}" >> "$GITHUB_ENV"
7678
echo "ELECTRS_EXE=$( pwd )/bin/electrs-${{ runner.os }}-${{ runner.arch }}" >> "$GITHUB_ENV"
7779
- name: Build on Rust ${{ matrix.toolchain }}

0 commit comments

Comments
 (0)