add rust caching to redux gui build workflow, fix release workflow

This commit is contained in:
LukeFZ
2025-12-15 08:23:38 +01:00
parent 332e3d4b27
commit c9197a22f7
2 changed files with 10 additions and 5 deletions

View File

@@ -38,20 +38,25 @@ jobs:
cache: "pnpm"
cache-dependency-path: Il2CppInspector.Redux.GUI.UI/pnpm-lock.yaml
- name: Install frontend dependencies
run: pnpm install
working-directory: ./Il2CppInspector.Redux.GUI.UI
- name: Setup Rust
uses: dtolnay/rust-toolchain@stable
with:
targets: ${{ matrix.platform == 'macos-latest' && 'aarch64-apple-darwin,x86_64-apple-darwin' || '' }}
- name: Setup Rust cache
uses: Swatinem/rust-cache@v2
with:
workspaces: "./Il2CppInspector.Redux.GUI.UI/src-tauri"
- name: Setup Tauri dependencies (ubuntu only)
if: matrix.platform == 'ubuntu-22.04'
run: |
sudo apt-get update
sudo apt-get install -y libwebkit2gtk-4.1-dev libappindicator3-dev librsvg2-dev patchelf
- name: Install frontend dependencies
run: pnpm install
working-directory: ./Il2CppInspector.Redux.GUI.UI
- name: Cache NuGet packages
uses: actions/cache@v4

View File

@@ -14,7 +14,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Download artifacts
uses: actions/download-artifacts@v7
uses: actions/download-artifact@v7
with:
path: ./artifacts/
- name: Make release