Skip to content

CI: Rename workflow, use build scripts, and upload CLI and GUI as separate artifacts - #2

Merged
hoffmang9 merged 8 commits into
mainfrom
upload-gui-artifacts
Feb 2, 2026
Merged

hoffmang9 merged 8 commits into
mainfrom
upload-gui-artifacts

Conversation

@hoffmang9

@hoffmang9 hoffmang9 commented Feb 2, 2026 •

Copy link
Copy Markdown
Owner

Summary

  • Rename the workflow file to build-cli-gui.yml to reflect that it builds and tests both CLI and GUI.
  • Use the existing build scripts (build-cli.sh / build-cli.ps1 then build-gui.sh / build-gui.ps1) per platform instead of inline cargo/tauri steps.
  • Upload two artifacts per runner (CLI and GUI) instead of one combined zip, so each download is smaller and focused.
  • Remove if: always() from artifact steps so uploads run only when the job succeeds.
  • Add icons/icon.ico to the Tauri bundle config so the Windows MSI bundler can find a .ico (fixes “Couldn't find a .ico icon” on Windows).

Changes

  • Workflow: build-cli.yml → build-cli-gui.yml; single “Build CLI then GUI” step per OS that runs the scripts; “Prepare CLI and GUI artifact dirs” copies from dist/ into dist-cli/ and dist-gui/; two upload-artifact steps (CLI and GUI). No if: always() on prepare/upload steps.
  • Tauri: tauri.conf.json bundle.icon includes icons/icon.ico for Windows bundles.

Result

  • Each matrix job produces two artifacts: WesoForge-cli_<os>_<version>_<arch> and WesoForge-gui_<os>_<version>_<arch> (8 artifacts total for 4 jobs).
  • Build and packaging logic stays in the scripts; CI only runs them and uploads the split artifacts.

@hoffmang9 hoffmang9 changed the title Update workflow name and add uploading GUI artifacts CI: Rename workflow, use build scripts, and upload CLI and GUI as separate artifacts Feb 2, 2026
@hoffmang9
hoffmang9 merged commit fceae75 into main Feb 2, 2026
4 checks passed
@hoffmang9
hoffmang9 deleted the upload-gui-artifacts branch February 2, 2026 05:29
hoffmang9 added a commit that referenced this pull request Feb 2, 2026
…and GUI artifacts (Ealrann#7)

* Add MacOS GUI to build-gui.sh and update the runners to build gui for all four platforms

* removed the cache: 'pnpm' and cache-dependency-path options from the Setup Node.js step

* Fix linux GUI and first attempt at building most things once per runner

* Second attempt to fix Linux GUI and only compile things once

* Third attempt on Linux and add rust caching to only build deps once

* Fourth? Linux fix and more attempts to not compile much of it twice

* Install FUSE on linux for gui build

* Drop FUSE and extract linuxdeploy instead

* Keep the binaries from being stripped and adjust things for APPIMAGE

* fix(ci): Linux AppImage build — use extracted linuxdeploy, keep symbols for Tauri patch

* Add debug for Linux build and fix Windows build

* lower log verbosity

* Add missing librsvg-2.0 to linux and catch up to upstream CI changes

* Remove verbosity and work aroudns now that it is working

* CI: Rename workflow, use build scripts, and upload CLI and GUI as separate artifacts (#2)

* Update workflow name and add uploading GUI artifacts

* Revert to a single upload step

* Ya know, actually upload both GUI and CLI...

* Refactor to not build so many times and hopefully get our assets

* Revert to using the build scripts and fix an issue on Windows

* remove duplicate determine version steps

* Upload GUI and CLI seperately so we get 8 artifacts instead of 4 .zips

* this time, commit the new file too
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant