mirror of
https://github.com/amiayweb/Hytale-F2P.git
synced 2026-02-26 10:11:47 -03:00
1.2 KiB
1.2 KiB
GitHub Actions
Build and Release Workflow
The release.yml workflow automatically builds the launcher for all platforms.
Triggers
| Trigger | Builds | Creates Release |
|---|---|---|
Push to main |
Yes | No |
Push tag v* |
Yes | Yes |
| Manual dispatch | Yes | No |
Platforms
All builds run in parallel:
- Linux (ubuntu-latest): AppImage, deb
- Windows (windows-latest): NSIS installer, portable exe
- macOS (macos-latest): Universal DMG (Intel + Apple Silicon)
Creating a Release
- Update version in
package.json - Commit and push to
main - Create and push a version tag:
git tag v2.0.1
git push origin v2.0.1
The workflow will:
- Build all platforms in parallel
- Upload artifacts to GitHub Release
- Generate release notes automatically
Build Artifacts
After each build, artifacts are available in the Actions tab for 90 days:
linux-builds:.AppImage,.debwindows-builds:.exemacos-builds:.dmg,.zip,latest-mac.yml
Local Development
Build locally for your platform:
npm run build:linux
npm run build:win
npm run build:mac
Or build all platforms (requires appropriate OS):
npm run build:all