mirror of
https://github.com/serai-dex/serai.git
synced 2025-02-02 03:06:31 +00:00
Attempt to the fix Bitcoin CI's cache statement
This commit is contained in:
parent
4f28a38ce1
commit
8a70416fd0
1 changed files with 7 additions and 4 deletions
11
.github/actions/bitcoin/action.yml
vendored
11
.github/actions/bitcoin/action.yml
vendored
|
@ -14,7 +14,7 @@ runs:
|
||||||
id: cache-bitcoind
|
id: cache-bitcoind
|
||||||
uses: actions/cache@v3
|
uses: actions/cache@v3
|
||||||
with:
|
with:
|
||||||
path: bitcoind
|
path: bitcoin.tar.gz
|
||||||
key: bitcoind-${{ runner.os }}-${{ runner.arch }}-${{ inputs.version }}
|
key: bitcoind-${{ runner.os }}-${{ runner.arch }}-${{ inputs.version }}
|
||||||
|
|
||||||
- name: Download the Bitcoin Daemon
|
- name: Download the Bitcoin Daemon
|
||||||
|
@ -23,12 +23,15 @@ runs:
|
||||||
run: |
|
run: |
|
||||||
RUNNER_OS=linux
|
RUNNER_OS=linux
|
||||||
RUNNER_ARCH=x86_64
|
RUNNER_ARCH=x86_64
|
||||||
|
FILE=bitcoin-${{ inputs.version }}-$RUNNER_ARCH-$RUNNER_OS-gnu.tar.gz
|
||||||
|
|
||||||
BASE=bitcoin-${{ inputs.version }}
|
|
||||||
FILE=$BASE-$RUNNER_ARCH-$RUNNER_OS-gnu.tar.gz
|
|
||||||
wget https://bitcoincore.org/bin/bitcoin-core-${{ inputs.version }}/$FILE
|
wget https://bitcoincore.org/bin/bitcoin-core-${{ inputs.version }}/$FILE
|
||||||
tar xzvf $FILE
|
mv $FILE bitcoin.tar.gz
|
||||||
|
|
||||||
|
- name: Extract the Bitcoin Daemon
|
||||||
|
shell: bash
|
||||||
|
run: |
|
||||||
|
tar xzvf bitcoin.tar.gz
|
||||||
cd bitcoin-${{ inputs.version }}
|
cd bitcoin-${{ inputs.version }}
|
||||||
sudo mv bin/* /bin && sudo mv lib/* /lib
|
sudo mv bin/* /bin && sudo mv lib/* /lib
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue