This workflow builds Taskhomie for Windows, macOS, and Linux in the cloud using GitHub Actions. No need to install Visual Studio or other build tools locally!
-
Push your code to GitHub:
git init git add . git commit -m "Initial commit" git remote add origin https://github.com/YOUR_USERNAME/taskhomie.git git push -u origin main
-
Go to GitHub Actions:
- Navigate to your repository on GitHub
- Click on the "Actions" tab
- You'll see the "Build Tauri App" workflow running automatically
-
Download the build artifacts:
- Once the workflow completes (green checkmark)
- Click on the workflow run
- Scroll down to "Artifacts"
- Click on the artifact for your platform:
taskhomie-windows-installer- Windows MSI installertaskhomie-windows-exe-installer- Windows EXE installer (NSIS)taskhomie-macos-dmg- macOS DMGtaskhomie-linux-deb- Linux Debian packagetaskhomie-linux-appimage- Linux AppImage
- Go to Actions tab
- Select "Build Tauri App" workflow
- Click "Run workflow"
- Select the branch you want to build
- Click "Run workflow"
-
Create a version tag:
git tag v0.1.0 git push origin v0.1.0
-
The workflow will automatically:
- Build for all platforms
- Create a draft GitHub release
- Attach all installers to the release
-
Go to Releases on GitHub to review and publish the draft release
- MSI Installer:
taskhomie_0.1.0_x64.msi- Standard Windows installer - EXE Installer:
taskhomie_0.1.0_x64-setup.exe- NSIS installer (if configured) - Standalone EXE:
taskhomie.exe- Portable executable
- DMG:
taskhomie_0.1.0_x64.dmg- Disk image with app - App Bundle:
taskhomie.app- Application bundle
- DEB:
taskhomie_0.1.0_amd64.deb- Debian/Ubuntu package - AppImage:
taskhomie_0.1.0_amd64.AppImage- Universal Linux package - RPM:
taskhomie_0.1.0.x86_64.rpm- Red Hat/Fedora package
✅ Multi-platform builds - Windows, macOS, and Linux
✅ Automatic artifact upload - Download ready-to-install packages
✅ Release automation - Create releases with all installers attached
✅ Build caching - Faster subsequent builds
✅ Pull request builds - Verify changes before merging
- Check the workflow logs - Click on the failed job to see detailed error messages
- Common issues:
- Missing dependencies (check
package.json) - Rust compilation errors (check
src-tauri/src/) - Icon files missing (ensure
icons/folder has all required files)
- Missing dependencies (check
GitHub keeps artifacts for 90 days by default. If expired:
- Re-run the workflow to generate new artifacts
- Or create a release to permanently attach binaries
First build takes ~30-40 minutes (compiling all Rust dependencies). Subsequent builds are faster (~10-15 minutes) due to caching.
Edit .github/workflows/build.yml:
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: '18' # Change to your preferred versionIf your app needs API keys (e.g., for analytics):
- name: Build Tauri App
run: npm run tauri build
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
YOUR_API_KEY: ${{ secrets.YOUR_API_KEY }}Add secrets in: GitHub Repo → Settings → Secrets and variables → Actions
Comment out the jobs you don't need in build.yml.
GitHub Actions is free for public repositories.
For private repositories:
- 2,000 minutes/month free
- Windows builds use ~20-30 minutes
- macOS builds use ~15-20 minutes
- Linux builds use ~10-15 minutes
- ✅ Push code to GitHub
- ✅ Enable Actions (if not already enabled)
- ✅ Run the workflow
- ✅ Download your built app!
Need help? Check the GitHub Actions documentation or open an issue.