Skip to content

Commit

Permalink
Boolean check
Browse files Browse the repository at this point in the history
  • Loading branch information
atharva-2001 committed Jan 27, 2025
1 parent 8b1bf20 commit 7050583
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/lfs-cache.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 7050583

Please sign in to comment.