Skip to content

Commit

Permalink
Replace setup_lfs action with single file checkout (#2861)
Browse files Browse the repository at this point in the history
Only download the atom data file needed
  • Loading branch information
atharva-2001 authored Oct 21, 2024
1 parent 81ec6e8 commit f8329cd
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 4 deletions.
9 changes: 7 additions & 2 deletions .github/workflows/benchmarks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,8 +54,13 @@ jobs:
run: git fetch origin master:master
if: github.event_name == 'pull_request_target'

- name: Setup LFS
uses: ./.github/actions/setup_lfs
- uses: actions/checkout@v4
with:
repository: tardis-sn/tardis-regression-data
path: tardis-regression-data
lfs: true
sparse-checkout: |
atom_data/kurucz_cd23_chianti_H_He.h5
- name: Setup Mamba
uses: mamba-org/setup-micromamba@v1
Expand Down
9 changes: 7 additions & 2 deletions .github/workflows/build-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -90,8 +90,13 @@ jobs:
ref: ${{ github.event.pull_request.head.sha }}
if: github.event_name == 'pull_request_target'

- name: Setup LFS
uses: ./.github/actions/setup_lfs
- uses: actions/checkout@v4
with:
repository: tardis-sn/tardis-regression-data
path: tardis-regression-data
lfs: true
sparse-checkout: |
atom_data/kurucz_cd23_chianti_H_He.h5
- name: Setup environment
uses: ./.github/actions/setup_env
Expand Down

0 comments on commit f8329cd

Please sign in to comment.