Significantly speedup preparing test blocks and plots by opting for a release download instead of a shallow git clone, and also by putting a caching layer on top of that. (#11065)

This commit is contained in:
Amine Khaldi 2022-04-07 04:15:10 +01:00 committed by GitHub
parent d35c414c09
commit 6026d734cf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
39 changed files with 702 additions and 234 deletions

View File

@ -65,13 +65,25 @@ jobs:
restore-keys: |
${{ runner.os }}-pip-
- name: Checkout test blocks and plots
uses: actions/checkout@v3
- name: Daily (POC) cache key invalidation for test blocks and plots
id: today-date
run: date +%F > today.txt
- name: Cache test blocks and plots
uses: actions/cache@v2
id: test-blocks-plots
with:
repository: 'Chia-Network/test-cache'
path: '.chia'
ref: '0.28.0'
fetch-depth: 1
path: |
${{ github.workspace }}/.chia/blocks
${{ github.workspace }}/.chia/test-plots
key: ${{ hashFiles('today.txt') }}
- name: Checkout test blocks and plots
if: steps.test-blocks-plots.outputs.cache-hit != 'true'
run: |
wget -qO- https://github.com/Chia-Network/test-cache/archive/refs/tags/0.28.0.tar.gz | tar xzf -
mkdir ${{ github.workspace }}/.chia
mv ${{ github.workspace }}/test-cache-0.28.0/* ${{ github.workspace }}/.chia
- name: Run install script
env:

View File

@ -65,13 +65,25 @@ jobs:
restore-keys: |
${{ runner.os }}-pip-
- name: Checkout test blocks and plots
uses: actions/checkout@v3
- name: Daily (POC) cache key invalidation for test blocks and plots
id: today-date
run: date +%F > today.txt
- name: Cache test blocks and plots
uses: actions/cache@v2
id: test-blocks-plots
with:
repository: 'Chia-Network/test-cache'
path: '.chia'
ref: '0.28.0'
fetch-depth: 1
path: |
${{ github.workspace }}/.chia/blocks
${{ github.workspace }}/.chia/test-plots
key: ${{ hashFiles('today.txt') }}
- name: Checkout test blocks and plots
if: steps.test-blocks-plots.outputs.cache-hit != 'true'
run: |
wget -qO- https://github.com/Chia-Network/test-cache/archive/refs/tags/0.28.0.tar.gz | tar xzf -
mkdir ${{ github.workspace }}/.chia
mv ${{ github.workspace }}/test-cache-0.28.0/* ${{ github.workspace }}/.chia
- name: Run install script
env:

View File

@ -65,13 +65,25 @@ jobs:
restore-keys: |
${{ runner.os }}-pip-
- name: Checkout test blocks and plots
uses: actions/checkout@v3
- name: Daily (POC) cache key invalidation for test blocks and plots
id: today-date
run: date +%F > today.txt
- name: Cache test blocks and plots
uses: actions/cache@v2
id: test-blocks-plots
with:
repository: 'Chia-Network/test-cache'
path: '.chia'
ref: '0.28.0'
fetch-depth: 1
path: |
${{ github.workspace }}/.chia/blocks
${{ github.workspace }}/.chia/test-plots
key: ${{ hashFiles('today.txt') }}
- name: Checkout test blocks and plots
if: steps.test-blocks-plots.outputs.cache-hit != 'true'
run: |
wget -qO- https://github.com/Chia-Network/test-cache/archive/refs/tags/0.28.0.tar.gz | tar xzf -
mkdir ${{ github.workspace }}/.chia
mv ${{ github.workspace }}/test-cache-0.28.0/* ${{ github.workspace }}/.chia
- name: Run install script
env:

View File

@ -65,13 +65,25 @@ jobs:
restore-keys: |
${{ runner.os }}-pip-
- name: Checkout test blocks and plots
uses: actions/checkout@v3
- name: Daily (POC) cache key invalidation for test blocks and plots
id: today-date
run: date +%F > today.txt
- name: Cache test blocks and plots
uses: actions/cache@v2
id: test-blocks-plots
with:
repository: 'Chia-Network/test-cache'
path: '.chia'
ref: '0.28.0'
fetch-depth: 1
path: |
${{ github.workspace }}/.chia/blocks
${{ github.workspace }}/.chia/test-plots
key: ${{ hashFiles('today.txt') }}
- name: Checkout test blocks and plots
if: steps.test-blocks-plots.outputs.cache-hit != 'true'
run: |
wget -qO- https://github.com/Chia-Network/test-cache/archive/refs/tags/0.28.0.tar.gz | tar xzf -
mkdir ${{ github.workspace }}/.chia
mv ${{ github.workspace }}/test-cache-0.28.0/* ${{ github.workspace }}/.chia
- name: Run install script
env:

View File

@ -65,13 +65,25 @@ jobs:
restore-keys: |
${{ runner.os }}-pip-
- name: Checkout test blocks and plots
uses: actions/checkout@v3
- name: Daily (POC) cache key invalidation for test blocks and plots
id: today-date
run: date +%F > today.txt
- name: Cache test blocks and plots
uses: actions/cache@v2
id: test-blocks-plots
with:
repository: 'Chia-Network/test-cache'
path: '.chia'
ref: '0.28.0'
fetch-depth: 1
path: |
${{ github.workspace }}/.chia/blocks
${{ github.workspace }}/.chia/test-plots
key: ${{ hashFiles('today.txt') }}
- name: Checkout test blocks and plots
if: steps.test-blocks-plots.outputs.cache-hit != 'true'
run: |
wget -qO- https://github.com/Chia-Network/test-cache/archive/refs/tags/0.28.0.tar.gz | tar xzf -
mkdir ${{ github.workspace }}/.chia
mv ${{ github.workspace }}/test-cache-0.28.0/* ${{ github.workspace }}/.chia
- name: Run install script
env:

View File

@ -65,13 +65,25 @@ jobs:
restore-keys: |
${{ runner.os }}-pip-
- name: Checkout test blocks and plots
uses: actions/checkout@v3
- name: Daily (POC) cache key invalidation for test blocks and plots
id: today-date
run: date +%F > today.txt
- name: Cache test blocks and plots
uses: actions/cache@v2
id: test-blocks-plots
with:
repository: 'Chia-Network/test-cache'
path: '.chia'
ref: '0.28.0'
fetch-depth: 1
path: |
${{ github.workspace }}/.chia/blocks
${{ github.workspace }}/.chia/test-plots
key: ${{ hashFiles('today.txt') }}
- name: Checkout test blocks and plots
if: steps.test-blocks-plots.outputs.cache-hit != 'true'
run: |
wget -qO- https://github.com/Chia-Network/test-cache/archive/refs/tags/0.28.0.tar.gz | tar xzf -
mkdir ${{ github.workspace }}/.chia
mv ${{ github.workspace }}/test-cache-0.28.0/* ${{ github.workspace }}/.chia
- name: Run install script
env:

View File

@ -65,13 +65,25 @@ jobs:
restore-keys: |
${{ runner.os }}-pip-
- name: Checkout test blocks and plots
uses: actions/checkout@v3
- name: Daily (POC) cache key invalidation for test blocks and plots
id: today-date
run: date +%F > today.txt
- name: Cache test blocks and plots
uses: actions/cache@v2
id: test-blocks-plots
with:
repository: 'Chia-Network/test-cache'
path: '.chia'
ref: '0.28.0'
fetch-depth: 1
path: |
${{ github.workspace }}/.chia/blocks
${{ github.workspace }}/.chia/test-plots
key: ${{ hashFiles('today.txt') }}
- name: Checkout test blocks and plots
if: steps.test-blocks-plots.outputs.cache-hit != 'true'
run: |
wget -qO- https://github.com/Chia-Network/test-cache/archive/refs/tags/0.28.0.tar.gz | tar xzf -
mkdir ${{ github.workspace }}/.chia
mv ${{ github.workspace }}/test-cache-0.28.0/* ${{ github.workspace }}/.chia
- name: Run install script
env:

View File

@ -65,13 +65,25 @@ jobs:
restore-keys: |
${{ runner.os }}-pip-
- name: Checkout test blocks and plots
uses: actions/checkout@v3
- name: Daily (POC) cache key invalidation for test blocks and plots
id: today-date
run: date +%F > today.txt
- name: Cache test blocks and plots
uses: actions/cache@v2
id: test-blocks-plots
with:
repository: 'Chia-Network/test-cache'
path: '.chia'
ref: '0.28.0'
fetch-depth: 1
path: |
${{ github.workspace }}/.chia/blocks
${{ github.workspace }}/.chia/test-plots
key: ${{ hashFiles('today.txt') }}
- name: Checkout test blocks and plots
if: steps.test-blocks-plots.outputs.cache-hit != 'true'
run: |
wget -qO- https://github.com/Chia-Network/test-cache/archive/refs/tags/0.28.0.tar.gz | tar xzf -
mkdir ${{ github.workspace }}/.chia
mv ${{ github.workspace }}/test-cache-0.28.0/* ${{ github.workspace }}/.chia
- name: Run install script
env:

View File

@ -65,13 +65,25 @@ jobs:
restore-keys: |
${{ runner.os }}-pip-
- name: Checkout test blocks and plots
uses: actions/checkout@v3
- name: Daily (POC) cache key invalidation for test blocks and plots
id: today-date
run: date +%F > today.txt
- name: Cache test blocks and plots
uses: actions/cache@v2
id: test-blocks-plots
with:
repository: 'Chia-Network/test-cache'
path: '.chia'
ref: '0.28.0'
fetch-depth: 1
path: |
${{ github.workspace }}/.chia/blocks
${{ github.workspace }}/.chia/test-plots
key: ${{ hashFiles('today.txt') }}
- name: Checkout test blocks and plots
if: steps.test-blocks-plots.outputs.cache-hit != 'true'
run: |
wget -qO- https://github.com/Chia-Network/test-cache/archive/refs/tags/0.28.0.tar.gz | tar xzf -
mkdir ${{ github.workspace }}/.chia
mv ${{ github.workspace }}/test-cache-0.28.0/* ${{ github.workspace }}/.chia
- name: Run install script
env:

View File

@ -65,13 +65,25 @@ jobs:
restore-keys: |
${{ runner.os }}-pip-
- name: Checkout test blocks and plots
uses: actions/checkout@v3
- name: Daily (POC) cache key invalidation for test blocks and plots
id: today-date
run: date +%F > today.txt
- name: Cache test blocks and plots
uses: actions/cache@v2
id: test-blocks-plots
with:
repository: 'Chia-Network/test-cache'
path: '.chia'
ref: '0.28.0'
fetch-depth: 1
path: |
${{ github.workspace }}/.chia/blocks
${{ github.workspace }}/.chia/test-plots
key: ${{ hashFiles('today.txt') }}
- name: Checkout test blocks and plots
if: steps.test-blocks-plots.outputs.cache-hit != 'true'
run: |
wget -qO- https://github.com/Chia-Network/test-cache/archive/refs/tags/0.28.0.tar.gz | tar xzf -
mkdir ${{ github.workspace }}/.chia
mv ${{ github.workspace }}/test-cache-0.28.0/* ${{ github.workspace }}/.chia
- name: Run install script
env:

View File

@ -65,13 +65,25 @@ jobs:
restore-keys: |
${{ runner.os }}-pip-
- name: Checkout test blocks and plots
uses: actions/checkout@v3
- name: Daily (POC) cache key invalidation for test blocks and plots
id: today-date
run: date +%F > today.txt
- name: Cache test blocks and plots
uses: actions/cache@v2
id: test-blocks-plots
with:
repository: 'Chia-Network/test-cache'
path: '.chia'
ref: '0.28.0'
fetch-depth: 1
path: |
${{ github.workspace }}/.chia/blocks
${{ github.workspace }}/.chia/test-plots
key: ${{ hashFiles('today.txt') }}
- name: Checkout test blocks and plots
if: steps.test-blocks-plots.outputs.cache-hit != 'true'
run: |
wget -qO- https://github.com/Chia-Network/test-cache/archive/refs/tags/0.28.0.tar.gz | tar xzf -
mkdir ${{ github.workspace }}/.chia
mv ${{ github.workspace }}/test-cache-0.28.0/* ${{ github.workspace }}/.chia
- name: Run install script
env:

View File

@ -65,13 +65,25 @@ jobs:
restore-keys: |
${{ runner.os }}-pip-
- name: Checkout test blocks and plots
uses: actions/checkout@v3
- name: Daily (POC) cache key invalidation for test blocks and plots
id: today-date
run: date +%F > today.txt
- name: Cache test blocks and plots
uses: actions/cache@v2
id: test-blocks-plots
with:
repository: 'Chia-Network/test-cache'
path: '.chia'
ref: '0.28.0'
fetch-depth: 1
path: |
${{ github.workspace }}/.chia/blocks
${{ github.workspace }}/.chia/test-plots
key: ${{ hashFiles('today.txt') }}
- name: Checkout test blocks and plots
if: steps.test-blocks-plots.outputs.cache-hit != 'true'
run: |
wget -qO- https://github.com/Chia-Network/test-cache/archive/refs/tags/0.28.0.tar.gz | tar xzf -
mkdir ${{ github.workspace }}/.chia
mv ${{ github.workspace }}/test-cache-0.28.0/* ${{ github.workspace }}/.chia
- name: Run install script
env:

View File

@ -65,13 +65,25 @@ jobs:
restore-keys: |
${{ runner.os }}-pip-
- name: Checkout test blocks and plots
uses: actions/checkout@v3
- name: Daily (POC) cache key invalidation for test blocks and plots
id: today-date
run: date +%F > today.txt
- name: Cache test blocks and plots
uses: actions/cache@v2
id: test-blocks-plots
with:
repository: 'Chia-Network/test-cache'
path: '.chia'
ref: '0.28.0'
fetch-depth: 1
path: |
${{ github.workspace }}/.chia/blocks
${{ github.workspace }}/.chia/test-plots
key: ${{ hashFiles('today.txt') }}
- name: Checkout test blocks and plots
if: steps.test-blocks-plots.outputs.cache-hit != 'true'
run: |
wget -qO- https://github.com/Chia-Network/test-cache/archive/refs/tags/0.28.0.tar.gz | tar xzf -
mkdir ${{ github.workspace }}/.chia
mv ${{ github.workspace }}/test-cache-0.28.0/* ${{ github.workspace }}/.chia
- name: Run install script
env:

View File

@ -65,13 +65,25 @@ jobs:
restore-keys: |
${{ runner.os }}-pip-
- name: Checkout test blocks and plots
uses: actions/checkout@v3
- name: Daily (POC) cache key invalidation for test blocks and plots
id: today-date
run: date +%F > today.txt
- name: Cache test blocks and plots
uses: actions/cache@v2
id: test-blocks-plots
with:
repository: 'Chia-Network/test-cache'
path: '.chia'
ref: '0.28.0'
fetch-depth: 1
path: |
${{ github.workspace }}/.chia/blocks
${{ github.workspace }}/.chia/test-plots
key: ${{ hashFiles('today.txt') }}
- name: Checkout test blocks and plots
if: steps.test-blocks-plots.outputs.cache-hit != 'true'
run: |
wget -qO- https://github.com/Chia-Network/test-cache/archive/refs/tags/0.28.0.tar.gz | tar xzf -
mkdir ${{ github.workspace }}/.chia
mv ${{ github.workspace }}/test-cache-0.28.0/* ${{ github.workspace }}/.chia
- name: Run install script
env:

View File

@ -65,13 +65,25 @@ jobs:
restore-keys: |
${{ runner.os }}-pip-
- name: Checkout test blocks and plots
uses: actions/checkout@v3
- name: Daily (POC) cache key invalidation for test blocks and plots
id: today-date
run: date +%F > today.txt
- name: Cache test blocks and plots
uses: actions/cache@v2
id: test-blocks-plots
with:
repository: 'Chia-Network/test-cache'
path: '.chia'
ref: '0.28.0'
fetch-depth: 1
path: |
${{ github.workspace }}/.chia/blocks
${{ github.workspace }}/.chia/test-plots
key: ${{ hashFiles('today.txt') }}
- name: Checkout test blocks and plots
if: steps.test-blocks-plots.outputs.cache-hit != 'true'
run: |
wget -qO- https://github.com/Chia-Network/test-cache/archive/refs/tags/0.28.0.tar.gz | tar xzf -
mkdir ${{ github.workspace }}/.chia
mv ${{ github.workspace }}/test-cache-0.28.0/* ${{ github.workspace }}/.chia
- name: Run install script
env:

View File

@ -65,13 +65,25 @@ jobs:
restore-keys: |
${{ runner.os }}-pip-
- name: Checkout test blocks and plots
uses: actions/checkout@v3
- name: Daily (POC) cache key invalidation for test blocks and plots
id: today-date
run: date +%F > today.txt
- name: Cache test blocks and plots
uses: actions/cache@v2
id: test-blocks-plots
with:
repository: 'Chia-Network/test-cache'
path: '.chia'
ref: '0.28.0'
fetch-depth: 1
path: |
${{ github.workspace }}/.chia/blocks
${{ github.workspace }}/.chia/test-plots
key: ${{ hashFiles('today.txt') }}
- name: Checkout test blocks and plots
if: steps.test-blocks-plots.outputs.cache-hit != 'true'
run: |
wget -qO- https://github.com/Chia-Network/test-cache/archive/refs/tags/0.28.0.tar.gz | tar xzf -
mkdir ${{ github.workspace }}/.chia
mv ${{ github.workspace }}/test-cache-0.28.0/* ${{ github.workspace }}/.chia
- name: Run install script
env:

View File

@ -65,13 +65,25 @@ jobs:
restore-keys: |
${{ runner.os }}-pip-
- name: Checkout test blocks and plots
uses: actions/checkout@v3
- name: Daily (POC) cache key invalidation for test blocks and plots
id: today-date
run: date +%F > today.txt
- name: Cache test blocks and plots
uses: actions/cache@v2
id: test-blocks-plots
with:
repository: 'Chia-Network/test-cache'
path: '.chia'
ref: '0.28.0'
fetch-depth: 1
path: |
${{ github.workspace }}/.chia/blocks
${{ github.workspace }}/.chia/test-plots
key: ${{ hashFiles('today.txt') }}
- name: Checkout test blocks and plots
if: steps.test-blocks-plots.outputs.cache-hit != 'true'
run: |
wget -qO- https://github.com/Chia-Network/test-cache/archive/refs/tags/0.28.0.tar.gz | tar xzf -
mkdir ${{ github.workspace }}/.chia
mv ${{ github.workspace }}/test-cache-0.28.0/* ${{ github.workspace }}/.chia
- name: Run install script
env:

View File

@ -65,13 +65,25 @@ jobs:
restore-keys: |
${{ runner.os }}-pip-
- name: Checkout test blocks and plots
uses: actions/checkout@v3
- name: Daily (POC) cache key invalidation for test blocks and plots
id: today-date
run: date +%F > today.txt
- name: Cache test blocks and plots
uses: actions/cache@v2
id: test-blocks-plots
with:
repository: 'Chia-Network/test-cache'
path: '.chia'
ref: '0.28.0'
fetch-depth: 1
path: |
${{ github.workspace }}/.chia/blocks
${{ github.workspace }}/.chia/test-plots
key: ${{ hashFiles('today.txt') }}
- name: Checkout test blocks and plots
if: steps.test-blocks-plots.outputs.cache-hit != 'true'
run: |
wget -qO- https://github.com/Chia-Network/test-cache/archive/refs/tags/0.28.0.tar.gz | tar xzf -
mkdir ${{ github.workspace }}/.chia
mv ${{ github.workspace }}/test-cache-0.28.0/* ${{ github.workspace }}/.chia
- name: Run install script
env:

View File

@ -65,13 +65,25 @@ jobs:
restore-keys: |
${{ runner.os }}-pip-
- name: Checkout test blocks and plots
uses: actions/checkout@v3
- name: Daily (POC) cache key invalidation for test blocks and plots
id: today-date
run: date +%F > today.txt
- name: Cache test blocks and plots
uses: actions/cache@v2
id: test-blocks-plots
with:
repository: 'Chia-Network/test-cache'
path: '.chia'
ref: '0.28.0'
fetch-depth: 1
path: |
${{ github.workspace }}/.chia/blocks
${{ github.workspace }}/.chia/test-plots
key: ${{ hashFiles('today.txt') }}
- name: Checkout test blocks and plots
if: steps.test-blocks-plots.outputs.cache-hit != 'true'
run: |
wget -qO- https://github.com/Chia-Network/test-cache/archive/refs/tags/0.28.0.tar.gz | tar xzf -
mkdir ${{ github.workspace }}/.chia
mv ${{ github.workspace }}/test-cache-0.28.0/* ${{ github.workspace }}/.chia
- name: Run install script
env:

View File

@ -65,13 +65,25 @@ jobs:
restore-keys: |
${{ runner.os }}-pip-
- name: Checkout test blocks and plots
uses: actions/checkout@v3
- name: Daily (POC) cache key invalidation for test blocks and plots
id: today-date
run: date +%F > today.txt
- name: Cache test blocks and plots
uses: actions/cache@v2
id: test-blocks-plots
with:
repository: 'Chia-Network/test-cache'
path: '.chia'
ref: '0.28.0'
fetch-depth: 1
path: |
${{ github.workspace }}/.chia/blocks
${{ github.workspace }}/.chia/test-plots
key: ${{ hashFiles('today.txt') }}
- name: Checkout test blocks and plots
if: steps.test-blocks-plots.outputs.cache-hit != 'true'
run: |
wget -qO- https://github.com/Chia-Network/test-cache/archive/refs/tags/0.28.0.tar.gz | tar xzf -
mkdir ${{ github.workspace }}/.chia
mv ${{ github.workspace }}/test-cache-0.28.0/* ${{ github.workspace }}/.chia
- name: Run install script
env:

View File

@ -65,13 +65,25 @@ jobs:
restore-keys: |
${{ runner.os }}-pip-
- name: Checkout test blocks and plots
uses: actions/checkout@v3
- name: Daily (POC) cache key invalidation for test blocks and plots
id: today-date
run: date +%F > today.txt
- name: Cache test blocks and plots
uses: actions/cache@v2
id: test-blocks-plots
with:
repository: 'Chia-Network/test-cache'
path: '.chia'
ref: '0.28.0'
fetch-depth: 1
path: |
${{ github.workspace }}/.chia/blocks
${{ github.workspace }}/.chia/test-plots
key: ${{ hashFiles('today.txt') }}
- name: Checkout test blocks and plots
if: steps.test-blocks-plots.outputs.cache-hit != 'true'
run: |
wget -qO- https://github.com/Chia-Network/test-cache/archive/refs/tags/0.28.0.tar.gz | tar xzf -
mkdir ${{ github.workspace }}/.chia
mv ${{ github.workspace }}/test-cache-0.28.0/* ${{ github.workspace }}/.chia
- name: Run install script
env:

View File

@ -65,13 +65,25 @@ jobs:
restore-keys: |
${{ runner.os }}-pip-
- name: Checkout test blocks and plots
uses: actions/checkout@v3
- name: Daily (POC) cache key invalidation for test blocks and plots
id: today-date
run: date +%F > today.txt
- name: Cache test blocks and plots
uses: actions/cache@v2
id: test-blocks-plots
with:
repository: 'Chia-Network/test-cache'
path: '.chia'
ref: '0.28.0'
fetch-depth: 1
path: |
${{ github.workspace }}/.chia/blocks
${{ github.workspace }}/.chia/test-plots
key: ${{ hashFiles('today.txt') }}
- name: Checkout test blocks and plots
if: steps.test-blocks-plots.outputs.cache-hit != 'true'
run: |
wget -qO- https://github.com/Chia-Network/test-cache/archive/refs/tags/0.28.0.tar.gz | tar xzf -
mkdir ${{ github.workspace }}/.chia
mv ${{ github.workspace }}/test-cache-0.28.0/* ${{ github.workspace }}/.chia
- name: Run install script
env:

View File

@ -65,13 +65,25 @@ jobs:
restore-keys: |
${{ runner.os }}-pip-
- name: Checkout test blocks and plots
uses: actions/checkout@v3
- name: Daily (POC) cache key invalidation for test blocks and plots
id: today-date
run: date +%F > today.txt
- name: Cache test blocks and plots
uses: actions/cache@v2
id: test-blocks-plots
with:
repository: 'Chia-Network/test-cache'
path: '.chia'
ref: '0.28.0'
fetch-depth: 1
path: |
${{ github.workspace }}/.chia/blocks
${{ github.workspace }}/.chia/test-plots
key: ${{ hashFiles('today.txt') }}
- name: Checkout test blocks and plots
if: steps.test-blocks-plots.outputs.cache-hit != 'true'
run: |
wget -qO- https://github.com/Chia-Network/test-cache/archive/refs/tags/0.28.0.tar.gz | tar xzf -
mkdir ${{ github.workspace }}/.chia
mv ${{ github.workspace }}/test-cache-0.28.0/* ${{ github.workspace }}/.chia
- name: Run install script
env:

View File

@ -65,13 +65,25 @@ jobs:
restore-keys: |
${{ runner.os }}-pip-
- name: Checkout test blocks and plots
uses: actions/checkout@v3
- name: Daily (POC) cache key invalidation for test blocks and plots
id: today-date
run: date +%F > today.txt
- name: Cache test blocks and plots
uses: actions/cache@v2
id: test-blocks-plots
with:
repository: 'Chia-Network/test-cache'
path: '.chia'
ref: '0.28.0'
fetch-depth: 1
path: |
${{ github.workspace }}/.chia/blocks
${{ github.workspace }}/.chia/test-plots
key: ${{ hashFiles('today.txt') }}
- name: Checkout test blocks and plots
if: steps.test-blocks-plots.outputs.cache-hit != 'true'
run: |
wget -qO- https://github.com/Chia-Network/test-cache/archive/refs/tags/0.28.0.tar.gz | tar xzf -
mkdir ${{ github.workspace }}/.chia
mv ${{ github.workspace }}/test-cache-0.28.0/* ${{ github.workspace }}/.chia
- name: Run install script
env:

View File

@ -65,13 +65,25 @@ jobs:
restore-keys: |
${{ runner.os }}-pip-
- name: Checkout test blocks and plots
uses: actions/checkout@v3
- name: Daily (POC) cache key invalidation for test blocks and plots
id: today-date
run: date +%F > today.txt
- name: Cache test blocks and plots
uses: actions/cache@v2
id: test-blocks-plots
with:
repository: 'Chia-Network/test-cache'
path: '.chia'
ref: '0.28.0'
fetch-depth: 1
path: |
${{ github.workspace }}/.chia/blocks
${{ github.workspace }}/.chia/test-plots
key: ${{ hashFiles('today.txt') }}
- name: Checkout test blocks and plots
if: steps.test-blocks-plots.outputs.cache-hit != 'true'
run: |
wget -qO- https://github.com/Chia-Network/test-cache/archive/refs/tags/0.28.0.tar.gz | tar xzf -
mkdir ${{ github.workspace }}/.chia
mv ${{ github.workspace }}/test-cache-0.28.0/* ${{ github.workspace }}/.chia
- name: Run install script
env:

View File

@ -65,13 +65,25 @@ jobs:
restore-keys: |
${{ runner.os }}-pip-
- name: Checkout test blocks and plots
uses: actions/checkout@v3
- name: Daily (POC) cache key invalidation for test blocks and plots
id: today-date
run: date +%F > today.txt
- name: Cache test blocks and plots
uses: actions/cache@v2
id: test-blocks-plots
with:
repository: 'Chia-Network/test-cache'
path: '.chia'
ref: '0.28.0'
fetch-depth: 1
path: |
${{ github.workspace }}/.chia/blocks
${{ github.workspace }}/.chia/test-plots
key: ${{ hashFiles('today.txt') }}
- name: Checkout test blocks and plots
if: steps.test-blocks-plots.outputs.cache-hit != 'true'
run: |
wget -qO- https://github.com/Chia-Network/test-cache/archive/refs/tags/0.28.0.tar.gz | tar xzf -
mkdir ${{ github.workspace }}/.chia
mv ${{ github.workspace }}/test-cache-0.28.0/* ${{ github.workspace }}/.chia
- name: Run install script
env:

View File

@ -65,13 +65,25 @@ jobs:
restore-keys: |
${{ runner.os }}-pip-
- name: Checkout test blocks and plots
uses: actions/checkout@v3
- name: Daily (POC) cache key invalidation for test blocks and plots
id: today-date
run: date +%F > today.txt
- name: Cache test blocks and plots
uses: actions/cache@v2
id: test-blocks-plots
with:
repository: 'Chia-Network/test-cache'
path: '.chia'
ref: '0.28.0'
fetch-depth: 1
path: |
${{ github.workspace }}/.chia/blocks
${{ github.workspace }}/.chia/test-plots
key: ${{ hashFiles('today.txt') }}
- name: Checkout test blocks and plots
if: steps.test-blocks-plots.outputs.cache-hit != 'true'
run: |
wget -qO- https://github.com/Chia-Network/test-cache/archive/refs/tags/0.28.0.tar.gz | tar xzf -
mkdir ${{ github.workspace }}/.chia
mv ${{ github.workspace }}/test-cache-0.28.0/* ${{ github.workspace }}/.chia
- name: Run install script
env:

View File

@ -65,13 +65,25 @@ jobs:
restore-keys: |
${{ runner.os }}-pip-
- name: Checkout test blocks and plots
uses: actions/checkout@v3
- name: Daily (POC) cache key invalidation for test blocks and plots
id: today-date
run: date +%F > today.txt
- name: Cache test blocks and plots
uses: actions/cache@v2
id: test-blocks-plots
with:
repository: 'Chia-Network/test-cache'
path: '.chia'
ref: '0.28.0'
fetch-depth: 1
path: |
${{ github.workspace }}/.chia/blocks
${{ github.workspace }}/.chia/test-plots
key: ${{ hashFiles('today.txt') }}
- name: Checkout test blocks and plots
if: steps.test-blocks-plots.outputs.cache-hit != 'true'
run: |
wget -qO- https://github.com/Chia-Network/test-cache/archive/refs/tags/0.28.0.tar.gz | tar xzf -
mkdir ${{ github.workspace }}/.chia
mv ${{ github.workspace }}/test-cache-0.28.0/* ${{ github.workspace }}/.chia
- name: Run install script
env:

View File

@ -65,13 +65,25 @@ jobs:
restore-keys: |
${{ runner.os }}-pip-
- name: Checkout test blocks and plots
uses: actions/checkout@v3
- name: Daily (POC) cache key invalidation for test blocks and plots
id: today-date
run: date +%F > today.txt
- name: Cache test blocks and plots
uses: actions/cache@v2
id: test-blocks-plots
with:
repository: 'Chia-Network/test-cache'
path: '.chia'
ref: '0.28.0'
fetch-depth: 1
path: |
${{ github.workspace }}/.chia/blocks
${{ github.workspace }}/.chia/test-plots
key: ${{ hashFiles('today.txt') }}
- name: Checkout test blocks and plots
if: steps.test-blocks-plots.outputs.cache-hit != 'true'
run: |
wget -qO- https://github.com/Chia-Network/test-cache/archive/refs/tags/0.28.0.tar.gz | tar xzf -
mkdir ${{ github.workspace }}/.chia
mv ${{ github.workspace }}/test-cache-0.28.0/* ${{ github.workspace }}/.chia
- name: Run install script
env:

View File

@ -65,13 +65,25 @@ jobs:
restore-keys: |
${{ runner.os }}-pip-
- name: Checkout test blocks and plots
uses: actions/checkout@v3
- name: Daily (POC) cache key invalidation for test blocks and plots
id: today-date
run: date +%F > today.txt
- name: Cache test blocks and plots
uses: actions/cache@v2
id: test-blocks-plots
with:
repository: 'Chia-Network/test-cache'
path: '.chia'
ref: '0.28.0'
fetch-depth: 1
path: |
${{ github.workspace }}/.chia/blocks
${{ github.workspace }}/.chia/test-plots
key: ${{ hashFiles('today.txt') }}
- name: Checkout test blocks and plots
if: steps.test-blocks-plots.outputs.cache-hit != 'true'
run: |
wget -qO- https://github.com/Chia-Network/test-cache/archive/refs/tags/0.28.0.tar.gz | tar xzf -
mkdir ${{ github.workspace }}/.chia
mv ${{ github.workspace }}/test-cache-0.28.0/* ${{ github.workspace }}/.chia
- name: Run install script
env:

View File

@ -65,13 +65,25 @@ jobs:
restore-keys: |
${{ runner.os }}-pip-
- name: Checkout test blocks and plots
uses: actions/checkout@v3
- name: Daily (POC) cache key invalidation for test blocks and plots
id: today-date
run: date +%F > today.txt
- name: Cache test blocks and plots
uses: actions/cache@v2
id: test-blocks-plots
with:
repository: 'Chia-Network/test-cache'
path: '.chia'
ref: '0.28.0'
fetch-depth: 1
path: |
${{ github.workspace }}/.chia/blocks
${{ github.workspace }}/.chia/test-plots
key: ${{ hashFiles('today.txt') }}
- name: Checkout test blocks and plots
if: steps.test-blocks-plots.outputs.cache-hit != 'true'
run: |
wget -qO- https://github.com/Chia-Network/test-cache/archive/refs/tags/0.28.0.tar.gz | tar xzf -
mkdir ${{ github.workspace }}/.chia
mv ${{ github.workspace }}/test-cache-0.28.0/* ${{ github.workspace }}/.chia
- name: Run install script
env:

View File

@ -65,13 +65,25 @@ jobs:
restore-keys: |
${{ runner.os }}-pip-
- name: Checkout test blocks and plots
uses: actions/checkout@v3
- name: Daily (POC) cache key invalidation for test blocks and plots
id: today-date
run: date +%F > today.txt
- name: Cache test blocks and plots
uses: actions/cache@v2
id: test-blocks-plots
with:
repository: 'Chia-Network/test-cache'
path: '.chia'
ref: '0.28.0'
fetch-depth: 1
path: |
${{ github.workspace }}/.chia/blocks
${{ github.workspace }}/.chia/test-plots
key: ${{ hashFiles('today.txt') }}
- name: Checkout test blocks and plots
if: steps.test-blocks-plots.outputs.cache-hit != 'true'
run: |
wget -qO- https://github.com/Chia-Network/test-cache/archive/refs/tags/0.28.0.tar.gz | tar xzf -
mkdir ${{ github.workspace }}/.chia
mv ${{ github.workspace }}/test-cache-0.28.0/* ${{ github.workspace }}/.chia
- name: Run install script
env:

View File

@ -65,13 +65,25 @@ jobs:
restore-keys: |
${{ runner.os }}-pip-
- name: Checkout test blocks and plots
uses: actions/checkout@v3
- name: Daily (POC) cache key invalidation for test blocks and plots
id: today-date
run: date +%F > today.txt
- name: Cache test blocks and plots
uses: actions/cache@v2
id: test-blocks-plots
with:
repository: 'Chia-Network/test-cache'
path: '.chia'
ref: '0.28.0'
fetch-depth: 1
path: |
${{ github.workspace }}/.chia/blocks
${{ github.workspace }}/.chia/test-plots
key: ${{ hashFiles('today.txt') }}
- name: Checkout test blocks and plots
if: steps.test-blocks-plots.outputs.cache-hit != 'true'
run: |
wget -qO- https://github.com/Chia-Network/test-cache/archive/refs/tags/0.28.0.tar.gz | tar xzf -
mkdir ${{ github.workspace }}/.chia
mv ${{ github.workspace }}/test-cache-0.28.0/* ${{ github.workspace }}/.chia
- name: Run install script
env:

View File

@ -65,13 +65,25 @@ jobs:
restore-keys: |
${{ runner.os }}-pip-
- name: Checkout test blocks and plots
uses: actions/checkout@v3
- name: Daily (POC) cache key invalidation for test blocks and plots
id: today-date
run: date +%F > today.txt
- name: Cache test blocks and plots
uses: actions/cache@v2
id: test-blocks-plots
with:
repository: 'Chia-Network/test-cache'
path: '.chia'
ref: '0.28.0'
fetch-depth: 1
path: |
${{ github.workspace }}/.chia/blocks
${{ github.workspace }}/.chia/test-plots
key: ${{ hashFiles('today.txt') }}
- name: Checkout test blocks and plots
if: steps.test-blocks-plots.outputs.cache-hit != 'true'
run: |
wget -qO- https://github.com/Chia-Network/test-cache/archive/refs/tags/0.28.0.tar.gz | tar xzf -
mkdir ${{ github.workspace }}/.chia
mv ${{ github.workspace }}/test-cache-0.28.0/* ${{ github.workspace }}/.chia
- name: Run install script
env:

View File

@ -65,13 +65,25 @@ jobs:
restore-keys: |
${{ runner.os }}-pip-
- name: Checkout test blocks and plots
uses: actions/checkout@v3
- name: Daily (POC) cache key invalidation for test blocks and plots
id: today-date
run: date +%F > today.txt
- name: Cache test blocks and plots
uses: actions/cache@v2
id: test-blocks-plots
with:
repository: 'Chia-Network/test-cache'
path: '.chia'
ref: '0.28.0'
fetch-depth: 1
path: |
${{ github.workspace }}/.chia/blocks
${{ github.workspace }}/.chia/test-plots
key: ${{ hashFiles('today.txt') }}
- name: Checkout test blocks and plots
if: steps.test-blocks-plots.outputs.cache-hit != 'true'
run: |
wget -qO- https://github.com/Chia-Network/test-cache/archive/refs/tags/0.28.0.tar.gz | tar xzf -
mkdir ${{ github.workspace }}/.chia
mv ${{ github.workspace }}/test-cache-0.28.0/* ${{ github.workspace }}/.chia
- name: Run install script
env:

View File

@ -65,13 +65,25 @@ jobs:
restore-keys: |
${{ runner.os }}-pip-
- name: Checkout test blocks and plots
uses: actions/checkout@v3
- name: Daily (POC) cache key invalidation for test blocks and plots
id: today-date
run: date +%F > today.txt
- name: Cache test blocks and plots
uses: actions/cache@v2
id: test-blocks-plots
with:
repository: 'Chia-Network/test-cache'
path: '.chia'
ref: '0.28.0'
fetch-depth: 1
path: |
${{ github.workspace }}/.chia/blocks
${{ github.workspace }}/.chia/test-plots
key: ${{ hashFiles('today.txt') }}
- name: Checkout test blocks and plots
if: steps.test-blocks-plots.outputs.cache-hit != 'true'
run: |
wget -qO- https://github.com/Chia-Network/test-cache/archive/refs/tags/0.28.0.tar.gz | tar xzf -
mkdir ${{ github.workspace }}/.chia
mv ${{ github.workspace }}/test-cache-0.28.0/* ${{ github.workspace }}/.chia
- name: Run install script
env:

View File

@ -65,13 +65,25 @@ jobs:
restore-keys: |
${{ runner.os }}-pip-
- name: Checkout test blocks and plots
uses: actions/checkout@v3
- name: Daily (POC) cache key invalidation for test blocks and plots
id: today-date
run: date +%F > today.txt
- name: Cache test blocks and plots
uses: actions/cache@v2
id: test-blocks-plots
with:
repository: 'Chia-Network/test-cache'
path: '.chia'
ref: '0.28.0'
fetch-depth: 1
path: |
${{ github.workspace }}/.chia/blocks
${{ github.workspace }}/.chia/test-plots
key: ${{ hashFiles('today.txt') }}
- name: Checkout test blocks and plots
if: steps.test-blocks-plots.outputs.cache-hit != 'true'
run: |
wget -qO- https://github.com/Chia-Network/test-cache/archive/refs/tags/0.28.0.tar.gz | tar xzf -
mkdir ${{ github.workspace }}/.chia
mv ${{ github.workspace }}/test-cache-0.28.0/* ${{ github.workspace }}/.chia
- name: Run install script
env:

View File

@ -65,13 +65,25 @@ jobs:
restore-keys: |
${{ runner.os }}-pip-
- name: Checkout test blocks and plots
uses: actions/checkout@v3
- name: Daily (POC) cache key invalidation for test blocks and plots
id: today-date
run: date +%F > today.txt
- name: Cache test blocks and plots
uses: actions/cache@v2
id: test-blocks-plots
with:
repository: 'Chia-Network/test-cache'
path: '.chia'
ref: '0.28.0'
fetch-depth: 1
path: |
${{ github.workspace }}/.chia/blocks
${{ github.workspace }}/.chia/test-plots
key: ${{ hashFiles('today.txt') }}
- name: Checkout test blocks and plots
if: steps.test-blocks-plots.outputs.cache-hit != 'true'
run: |
wget -qO- https://github.com/Chia-Network/test-cache/archive/refs/tags/0.28.0.tar.gz | tar xzf -
mkdir ${{ github.workspace }}/.chia
mv ${{ github.workspace }}/test-cache-0.28.0/* ${{ github.workspace }}/.chia
- name: Run install script
env:

View File

@ -1,7 +1,19 @@
- name: Checkout test blocks and plots
uses: actions/checkout@v3
- name: Daily (POC) cache key invalidation for test blocks and plots
id: today-date
run: date +%F > today.txt
- name: Cache test blocks and plots
uses: actions/cache@v2
id: test-blocks-plots
with:
repository: 'Chia-Network/test-cache'
path: '.chia'
ref: '0.28.0'
fetch-depth: 1
path: |
${{ github.workspace }}/.chia/blocks
${{ github.workspace }}/.chia/test-plots
key: ${{ hashFiles('today.txt') }}
- name: Checkout test blocks and plots
if: steps.test-blocks-plots.outputs.cache-hit != 'true'
run: |
wget -qO- https://github.com/Chia-Network/test-cache/archive/refs/tags/0.28.0.tar.gz | tar xzf -
mkdir ${{ github.workspace }}/.chia
mv ${{ github.workspace }}/test-cache-0.28.0/* ${{ github.workspace }}/.chia