diff --git a/.gitea/workflows/release.yaml b/.gitea/workflows/release.yaml index a514033..e58342e 100644 --- a/.gitea/workflows/release.yaml +++ b/.gitea/workflows/release.yaml @@ -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,9 @@ 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 \ + --upload-file package.tar.zst \ 'https://git.molloy.xyz/api/packages/fergus-molloy/generic/nuchat/0.0.2/nuchat.tar.zst'