mirror of
https://github.com/darksaid98/optim.git
synced 2026-12-01 22:16:40 +00:00
ci: recode all workflows
This commit is contained in:
11 files changed
+160
-640
No files matched your search
@@ -0,0 +1,22 @@
|
||||
name: 'Cache LFS files'
|
||||
description: 'Downloads and caches all git LFS files.'
|
||||
|
||||
runs:
|
||||
using: 'composite'
|
||||
steps:
|
||||
- name: LFS Create File List
|
||||
run: git lfs ls-files --long | cut -d ' ' -f1 | sort > .lfs-assets-id
|
||||
shell: bash
|
||||
|
||||
- name: LFS Cache
|
||||
uses: actions/cache@v4
|
||||
with:
|
||||
path: .git/lfs/objects
|
||||
key: ${{ runner.os }}-lfs-${{ hashFiles('.lfs-assets-id') }}
|
||||
restore-keys: |
|
||||
${{ runner.os }}-lfs-
|
||||
|
||||
- name: LFS Pull
|
||||
run: git lfs pull
|
||||
shell: bash
|
||||
|
||||
Reference in new issue
Block a user