mirror of
https://github.com/LukeFZ/Il2CppInspectorRedux.git
synced 2026-01-27 04:59:39 +05:00
add rust caching to redux gui build workflow, fix release workflow
This commit is contained in:
13
.github/workflows/build.yml
vendored
13
.github/workflows/build.yml
vendored
@@ -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
|
||||
|
||||
2
.github/workflows/release.yml
vendored
2
.github/workflows/release.yml
vendored
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user