fix checking of matrix.configuration.checkout_blocks_and_plots (#15454)

* fix checking of matrix.configuration.checkout_blocks_and_plots

* enable more blocks and plots downloading
This commit is contained in:
Kyle Altendorf 2023-06-29 21:48:50 -04:00 committed by GitHub
parent e2a5f8d7da
commit ba3ac20c55
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 9 additions and 3 deletions

View File

@ -193,7 +193,7 @@ jobs:
key: ${{ env.BLOCKS_AND_PLOTS_VERSION }} key: ${{ env.BLOCKS_AND_PLOTS_VERSION }}
- name: Checkout test blocks and plots (macOS, Ubuntu) - name: Checkout test blocks and plots (macOS, Ubuntu)
if: steps.test-blocks-plots.outputs.cache-hit != 'true' && (matrix.os.matrix == 'ubuntu' || matrix.os.matrix == 'macos') if: matrix.configuration.checkout_blocks_and_plots && steps.test-blocks-plots.outputs.cache-hit != 'true' && (matrix.os.matrix == 'ubuntu' || matrix.os.matrix == 'macos')
env: env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: | run: |
@ -202,7 +202,7 @@ jobs:
mv ${{ github.workspace }}/test-cache-${{ env.BLOCKS_AND_PLOTS_VERSION }}/* ${{ github.workspace }}/.chia mv ${{ github.workspace }}/test-cache-${{ env.BLOCKS_AND_PLOTS_VERSION }}/* ${{ github.workspace }}/.chia
- name: Checkout test blocks and plots (Windows) - name: Checkout test blocks and plots (Windows)
if: steps.test-blocks-plots.outputs.cache-hit != 'true' && matrix.os.matrix == 'windows' if: matrix.configuration.checkout_blocks_and_plots && steps.test-blocks-plots.outputs.cache-hit != 'true' && matrix.os.matrix == 'windows'
env: env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: | run: |

View File

@ -2,4 +2,4 @@ from __future__ import annotations
parallel = True parallel = True
job_timeout = 50 job_timeout = 50
checkout_blocks_and_plots = False checkout_blocks_and_plots = True

View File

@ -0,0 +1,3 @@
from __future__ import annotations
checkout_blocks_and_plots = True

View File

@ -0,0 +1,3 @@
from __future__ import annotations
checkout_blocks_and_plots = True