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:
12
.github/workflows/rust-tests.yml
vendored
12
.github/workflows/rust-tests.yml
vendored
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user