feat: some shit
This commit is contained in:
parent
91e60bb090
commit
59d6095278
6
.github/workflows/default.yaml
vendored
6
.github/workflows/default.yaml
vendored
@ -29,14 +29,14 @@ jobs:
|
||||
- name: 🔢 Calculate cache ids
|
||||
run: |
|
||||
git lfs ls-files -l | cut -d' ' -f1 | sort > .lfs-assets-id
|
||||
LFS_CACHE_ID=$(cat .lfs-assets-id | md5sum)-v1 # Get the GitHub repository name
|
||||
PNPM_CACHE_ID=$( cat pnpm-lock.yaml | md5sum )-v1
|
||||
LFS_CACHE_ID=$(cat .lfs-assets-id | md5sum)-v2 # Get the GitHub repository name
|
||||
PNPM_CACHE_ID=$( cat pnpm-lock.yaml | md5sum )-v2q
|
||||
echo "LFS_CACHE_ID=$LFS_CACHE_ID" >> $GITHUB_ENV
|
||||
echo "PNPM_STORE_PATH=$(pnpm store path)" >> $GITHUB_ENV
|
||||
echo "PNPM_CACHE_ID=$PNPM_CACHE_ID" >> $GITHUB_ENV
|
||||
|
||||
- name: 🗳️ Setup pnpm cache
|
||||
uses: https://github.com/actions/cache@v3
|
||||
uses: https://github.com/actions/cache@v4
|
||||
with:
|
||||
path: ${{ env.PNPM_STORE_PATH }}
|
||||
key: ${{ runner.os }}-pnpm-store-${{ env.PNPM_CACHE_ID }}
|
||||
|
Loading…
Reference in New Issue
Block a user