fix(ci): generate the bootstrap installer icons before cargo test

tauri::generate_context! embeds the icons at compile time and they are no
longer committed, so the lane failed on a missing 32x32.png.
This commit is contained in:
ethernet
2026-09-19 01:38:09 -04:00
parent 5e63231e2d
commit 145e4213f1

View File

@@ -38,6 +38,18 @@ jobs:
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
# tauri::generate_context! embeds the app icons, which are generated,
# not committed.
- uses: ./.github/actions/setup-pm
with:
toolchain: all
cache-python: true
prune-python-cache: true
- name: Generate icons
working-directory: .
run: node scripts/generate-icons.mjs
# Tauri links against the system webkit2gtk on Linux, so the crate does
# not compile without these even for `cargo test --lib`.
- name: Install Tauri system dependencies