Skip to content

Commit

Permalink
Test allow lfs pull 1
Browse files Browse the repository at this point in the history
  • Loading branch information
atharva-2001 committed Feb 17, 2025
1 parent 4fc6b90 commit 84c6416
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .github/workflows/lfs-cache.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,14 +52,20 @@ jobs:
fi
working-directory: tardis-regression-data


- name: Test cache availability
uses: actions/cache/restore@v4
id: test-lfs-cache-regression-data
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: label test
if: |
inputs.allow_lfs_pull != true
run: |
echo "Error: LFS pull is required but not allowed (allow_lfs_pull is false)"
exit 1
- name: Fail if LFS pull is needed but not allowed
if: |
Expand Down

0 comments on commit 84c6416

Please sign in to comment.