Skip to content

Commit c9197a2

Browse files
committed
add rust caching to redux gui build workflow, fix release workflow
1 parent 332e3d4 commit c9197a2

File tree

2 files changed

+10
-5
lines changed

2 files changed

+10
-5
lines changed

.github/workflows/build.yml

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -38,20 +38,25 @@ jobs:
3838
cache: "pnpm"
3939
cache-dependency-path: Il2CppInspector.Redux.GUI.UI/pnpm-lock.yaml
4040

41+
- name: Install frontend dependencies
42+
run: pnpm install
43+
working-directory: ./Il2CppInspector.Redux.GUI.UI
44+
4145
- name: Setup Rust
4246
uses: dtolnay/rust-toolchain@stable
4347
with:
4448
targets: ${{ matrix.platform == 'macos-latest' && 'aarch64-apple-darwin,x86_64-apple-darwin' || '' }}
4549

50+
- name: Setup Rust cache
51+
uses: Swatinem/rust-cache@v2
52+
with:
53+
workspaces: "./Il2CppInspector.Redux.GUI.UI/src-tauri"
54+
4655
- name: Setup Tauri dependencies (ubuntu only)
4756
if: matrix.platform == 'ubuntu-22.04'
4857
run: |
4958
sudo apt-get update
5059
sudo apt-get install -y libwebkit2gtk-4.1-dev libappindicator3-dev librsvg2-dev patchelf
51-
52-
- name: Install frontend dependencies
53-
run: pnpm install
54-
working-directory: ./Il2CppInspector.Redux.GUI.UI
5560
5661
- name: Cache NuGet packages
5762
uses: actions/cache@v4

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
runs-on: ubuntu-latest
1515
steps:
1616
- name: Download artifacts
17-
uses: actions/download-artifacts@v7
17+
uses: actions/download-artifact@v7
1818
with:
1919
path: ./artifacts/
2020
- name: Make release

0 commit comments

Comments
 (0)