# Release matrix — INERT until act_runner instances with these labels are # registered on git.teknes.es. Each OS builds its own artifacts (electrobun # cannot cross-compile: packaging needs codesign/hdiutil on macOS and # rcedit/PowerShell on Windows). # # Runner prerequisites: # macos — arm64 Mac: bun, Xcode CLT, Rosetta 2 (softwareupdate # --install-rosetta), network to github.com (electrobun downloads # its per-arch core binaries on first build) # windows — Windows 11 x64: bun, network to github.com; WebView2 runtime is # preinstalled on Win 11 # # Trigger: push a tag like build-62 (git tag build-$(git rev-list --count HEAD)). name: release on: push: tags: - "build-*" jobs: mac: runs-on: macos steps: - uses: actions/checkout@v4 with: fetch-depth: 0 # full history — the build number is the commit count - run: bun install --frozen-lockfile - run: bun scripts/release.ts --target mac-arm64 - run: bun scripts/release.ts --target mac-x64 - uses: actions/upload-artifact@v3 with: name: mac path: release/** windows: runs-on: windows steps: - uses: actions/checkout@v4 with: fetch-depth: 0 - run: bun install --frozen-lockfile - run: bun scripts/release.ts --target win-x64 - uses: actions/upload-artifact@v3 with: name: windows path: release/**