feat: some shit
Some checks failed
Deploy to GitHub Pages / deploy (push) Blocked by required conditions
Deploy to GitHub Pages / build (push) Has been cancelled

This commit is contained in:
max_richter 2024-04-03 16:38:44 +02:00
parent 91e60bb090
commit 59d6095278

View File

@ -29,14 +29,14 @@ jobs:
- name: 🔢 Calculate cache ids - name: 🔢 Calculate cache ids
run: | run: |
git lfs ls-files -l | cut -d' ' -f1 | sort > .lfs-assets-id 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 LFS_CACHE_ID=$(cat .lfs-assets-id | md5sum)-v2 # Get the GitHub repository name
PNPM_CACHE_ID=$( cat pnpm-lock.yaml | md5sum )-v1 PNPM_CACHE_ID=$( cat pnpm-lock.yaml | md5sum )-v2q
echo "LFS_CACHE_ID=$LFS_CACHE_ID" >> $GITHUB_ENV echo "LFS_CACHE_ID=$LFS_CACHE_ID" >> $GITHUB_ENV
echo "PNPM_STORE_PATH=$(pnpm store path)" >> $GITHUB_ENV echo "PNPM_STORE_PATH=$(pnpm store path)" >> $GITHUB_ENV
echo "PNPM_CACHE_ID=$PNPM_CACHE_ID" >> $GITHUB_ENV echo "PNPM_CACHE_ID=$PNPM_CACHE_ID" >> $GITHUB_ENV
- name: 🗳️ Setup pnpm cache - name: 🗳️ Setup pnpm cache
uses: https://github.com/actions/cache@v3 uses: https://github.com/actions/cache@v4
with: with:
path: ${{ env.PNPM_STORE_PATH }} path: ${{ env.PNPM_STORE_PATH }}
key: ${{ runner.os }}-pnpm-store-${{ env.PNPM_CACHE_ID }} key: ${{ runner.os }}-pnpm-store-${{ env.PNPM_CACHE_ID }}