add cache to release
This commit is contained in:
@ -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,9 +47,5 @@ jobs:
|
||||
run: tar -cf - package | zstd -19 -T0 -o package.tar.zst
|
||||
|
||||
- name: Upload Package
|
||||
run: |
|
||||
curl -X PUT \
|
||||
-H 'Authorization: token ${{ secrets.PACKAGE_API_KEY }}' \
|
||||
--upload-file package.tar.zst \
|
||||
'https://git.molloy.xyz/api/packages/fergus-molloy/generic/nuchat/0.0.2/nuchat.tar.zst'
|
||||
run: curl -X PUT -H 'Authorization: token ${{ secrets.PACKAGE_API_KEY }}' --upload-file package.tar.zst 'https://git.molloy.xyz/api/packages/fergus-molloy/generic/nuchat/0.0.2/nuchat.tar.zst'
|
||||
|
||||
|
||||
Reference in New Issue
Block a user