Skip to content

Commit 524d201

Browse files
Add support for external LFS servers
1 parent e3acaa5 commit 524d201

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

action.yml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ runs:
7272
shell: bash
7373
run: echo "lfs_sha=${{env.lfs_data_cache_sha}}" >> $GITHUB_OUTPUT
7474

75-
- name: Checkout LFS data for artifact producer
75+
- name: Checkout repository for artifact producer
7676
if: |
7777
steps.cache-lfs.outputs.cache-hit != 'true' &&
7878
inputs.type == 'producer'
@@ -84,6 +84,13 @@ runs:
8484
fetch-depth: 1
8585
lfs: true
8686

87+
- name: Pull LFS data for artifact producer
88+
if: |
89+
steps.cache-lfs.outputs.cache-hit != 'true' &&
90+
inputs.type == 'producer'
91+
working-directory: ${{github.workspace}}/lfs_data_cache/lfs_data
92+
run: git lfs fetch --all && git lfs checkout
93+
8794
- name: Upload LFS artifact
8895
if: inputs.type == 'producer'
8996
uses: actions/upload-artifact@v4

0 commit comments

Comments
 (0)