File tree Expand file tree Collapse file tree 2 files changed +6
-0
lines changed
Expand file tree Collapse file tree 2 files changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -17,6 +17,7 @@ Is has the following inputs:
1717
1818 - ` type ` : should be ` producer ` or ` consumer ` , default to ` producer `
1919 - ` repository ` : the git repository to produce LFS data from, default: ${{ github.repository }}
20+ - ` ref ` : the branch, tag or SHA to checkout to look for LFS data in, default: ` '' `
2021 - ` lfs_sha ` : The git sha to recover LFS data from, optional
2122 - ` cache_postfix ` : An postfix added to the cache name, to support multiple caches, default to ` cache `
2223 - ` target_directory ` : A target directory to copy LFS data to
Original file line number Diff line number Diff line change @@ -11,6 +11,10 @@ inputs:
1111 description : ' Repository to recover LFS data from'
1212 required : false
1313 default : ${{ github.repository }}
14+ ref :
15+ description : ' branch, tag or SHA to checkout and look for LFS data in'
16+ required : false
17+ default : ' '
1418 lfs_sha :
1519 description : ' LFS sha to recover. If not set, target directory will be used to recover it.'
1620 required : false
4347 if : inputs.lfs_sha == ''
4448 uses : actions/checkout@v4
4549 with :
50+ ref : ${{ inputs.ref }}
4651 repository : ${{ inputs.repository }}
4752 path : ' lfs_data_cache/lfs_source'
4853 fetch-depth : 0
You can’t perform that action at this time.
0 commit comments