add cache to release
All checks were successful
Backend Actions / check (push) Successful in 12s
Backend Actions / build (push) Successful in 22s
Backend Actions / test (push) Successful in 32s
Backend Actions / package (push) Successful in 1m26s

This commit is contained in:
2025-07-25 14:24:09 +01:00
parent bec8abfe47
commit 7ba9cd2c73

View File

@ -17,6 +17,15 @@ jobs:
uses: actions/setup-node@v4
with:
node-version: '24'
- name: Load Cache
uses: actions/cache@v4
with:
path: |
~/.cargo/registry
~/.cargo/git
backend/target
ui/node_modules
key: ${{ runner.os }}-package-${{ hashFiles('backend/Cargo.lock') }}-${{ hashFiles('ui/package-lock.json') }}
- name: Install UI Dependencies
working-directory: ui
@ -38,7 +47,7 @@ jobs:
run: tar -cf - package | zstd -19 -T0 -o package.tar.zst
- name: Upload Package
run: |
run: |-
curl -X PUT \
-H 'Authorization: token ${{ secrets.PACKAGE_API_KEY }}' \
--upload-file package.tar.zst \