github.com/ncruces/go-sqlite3@v0.15.1-0.20240520133447-53eef1510ff0/.github/actions/lfs/action.yml (about) 1 name: Git LFS pull 2 description: Cached Git LFS pull. 3 4 runs: 5 using: "composite" 6 steps: 7 - name: Create LFS file list 8 shell: bash 9 run: git lfs ls-files --long | cut -d ' ' -f1 | sort > .lfs-assets-id 10 11 - name: Restore LFS cache 12 uses: actions/cache@v4 13 with: 14 path: .git/lfs/objects 15 key: lfs-${{ hashFiles('.lfs-assets-id') }} 16 restore-keys: lfs- 17 enableCrossOsArchive: true 18 19 - name: Git LFS pull 20 shell: bash 21 run: | 22 git lfs pull 23 git lfs prune