Skip to content

Fix CI: Install Wails CLI on all platforms for release builds#36

Merged
vuon9 merged 2 commits intomainfrom
fix/ci-install-wails
Feb 8, 2026
Merged

Fix CI: Install Wails CLI on all platforms for release builds#36
vuon9 merged 2 commits intomainfrom
fix/ci-install-wails

Conversation

@vuon9
Copy link
Owner

@vuon9 vuon9 commented Feb 8, 2026

Summary

Fixes the release build failure where wails command was not found on Windows and macOS runners.

Problem

The release workflow was failing on Windows with:

wails: command not found

This happened because Wails CLI was only being installed for Ubuntu (Linux) builds, but the build step tried to use wails on all platforms (Windows, macOS, and Linux).

Solution

  • Separated the Linux-specific dependencies installation from Wails CLI installation
  • Added a new step Install Wails CLI that runs on all platforms
  • Handles platform-specific binary naming:
    • Windows: wails3.exewails.exe
    • macOS/Linux: wails3wails
  • Adds the Go bin directory to PATH for Windows and macOS

Changes

  • Modified .github/workflows/release.yml:
    • Renamed "Install dependencies" to "Install Linux dependencies" (Ubuntu only)
    • Added "Install Wails CLI" step (all platforms)
    • Properly handles binary renaming and PATH setup per platform

Testing

This fix ensures the release workflow can build successfully on:

  • ✅ Ubuntu (Linux)
  • ✅ Windows
  • ✅ macOS

Fixes the release build failure for v0.9.1 and future releases.

@vuon9 vuon9 merged commit 151dc3d into main Feb 8, 2026
@vuon9 vuon9 deleted the fix/ci-install-wails branch February 8, 2026 13:14
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