diff --git a/.github/workflows/lfs-cache.yml b/.github/workflows/lfs-cache.yml index 8e146ecf21d..e1975a66b73 100644 --- a/.github/workflows/lfs-cache.yml +++ b/.github/workflows/lfs-cache.yml @@ -58,15 +58,16 @@ jobs: with: path: tardis-regression-data/.git/lfs key: tardis-regression-${{ inputs.atom-data-sparse == 'true' && 'atom-data-sparse' || 'full-data' }}-${{ hashFiles('tardis-regression-data/.lfs-files-list') }}-${{ inputs.regression-data-repo }}-v1 + lookup-only: true - name: Git LFS Pull Atom Data run: git lfs pull --include-ref=atom_data/kurucz_cd23_chianti_H_He.h5 - if: ${{ inputs.atom-data-sparse == 'true' && steps.test-lfs-cache-regression-data.outputs.cache-hit != 'true' }} + if: ${{ inputs.atom-data-sparse == true && steps.test-lfs-cache-regression-data.outputs.cache-hit != 'true' }} working-directory: tardis-regression-data - name: Git LFS Pull Full Data run: git lfs pull - if: ${{ inputs.atom-data-sparse == 'false' && steps.test-lfs-cache-regression-data.outputs.cache-hit != 'true' }} + if: ${{ inputs.atom-data-sparse == false && steps.test-lfs-cache-regression-data.outputs.cache-hit != 'true' }} working-directory: tardis-regression-data - name: Git LFS Checkout