feat: some shit
This commit is contained in:
parent
ba4a3c0af2
commit
da8a16c416
19
.github/workflows/default.yaml
vendored
19
.github/workflows/default.yaml
vendored
@ -15,9 +15,24 @@ jobs:
|
|||||||
RUNNER_TOOL_CACHE: /toolcache
|
RUNNER_TOOL_CACHE: /toolcache
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
|
- name: Checkout
|
||||||
|
uses: actions/checkout@v3
|
||||||
|
|
||||||
- name: Checkout code
|
- name: Create LFS file list
|
||||||
uses: nschloe/action-cached-lfs-checkout@v1
|
run: git lfs ls-files --long | cut -d ' ' -f1 | sort > .lfs-assets-id
|
||||||
|
|
||||||
|
- uses: https://gitea.com/actions/go-hashfiles@v0.0.1
|
||||||
|
id: hash-lfs
|
||||||
|
with:
|
||||||
|
patterns: |
|
||||||
|
.lfs-assets-id
|
||||||
|
|
||||||
|
- name: LFS Cache
|
||||||
|
uses: actions/cache@v3
|
||||||
|
with:
|
||||||
|
path: .git/lfs/objects
|
||||||
|
key: ${{ runner.os }}-lfs-${{ steps.hash-lfs.outputs.hash }}
|
||||||
|
restore-keys: |
|
||||||
|
|
||||||
- name: 📦 Install PNPM
|
- name: 📦 Install PNPM
|
||||||
uses: pnpm/action-setup@v3
|
uses: pnpm/action-setup@v3
|
||||||
|
Loading…
Reference in New Issue
Block a user