# 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). No mac-x64: Electrobun 2.x has no macOS x64 # core. # # Runner prerequisites: # macos — Apple Silicon Mac: bun, Xcode CLT, network to github.com and the # Electrobun/Hutch release hosts (`bun install` runs `electrobun # prepare`; the first build per Electrobun version fills ~/.hutch # with Hutch, the core, Cottontail and the pinned Bun, ~200 MB) # windows — Windows 11 x64: bun, the same network access; 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 - 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/**