mirror of
https://github.com/lukaszraczylo/filepuff-mcp.git
synced 2026-06-08 22:49:14 +00:00
15340cdefc
Shared go-release-cgo.yaml runs each matrix entry natively (no cross- compile), so adding platforms only needs two edits: a platforms input in release.yaml and removal of ignore rules in .goreleaser.yaml. New coverage: - darwin_amd64 on macos-13 runner (Intel Mac) - linux_arm64 on ubuntu-24.04-arm runner (ARM servers, Raspberry Pi, Apple Silicon via Docker/QEMU) Kept: darwin_arm64, linux_amd64, windows_amd64. Still skipped: windows_arm64 (uncommon, ARM Windows runner flakier).
32 lines
904 B
YAML
32 lines
904 B
YAML
name: Test, build, release
|
|
|
|
on:
|
|
workflow_dispatch:
|
|
push:
|
|
paths-ignore:
|
|
- '**.md'
|
|
- '**/release.yaml'
|
|
branches:
|
|
- main
|
|
|
|
permissions:
|
|
id-token: write
|
|
contents: write
|
|
packages: write
|
|
|
|
jobs:
|
|
release:
|
|
uses: lukaszraczylo/shared-actions/.github/workflows/go-release-cgo.yaml@main
|
|
with:
|
|
go-version: "1.25"
|
|
rolling-release-tag: "v1"
|
|
platforms: >-
|
|
[
|
|
{"os":"macos-13","goos":"darwin","goarch":"amd64","platform":"darwin_amd64"},
|
|
{"os":"macos-latest","goos":"darwin","goarch":"arm64","platform":"darwin_arm64"},
|
|
{"os":"ubuntu-latest","goos":"linux","goarch":"amd64","platform":"linux_amd64"},
|
|
{"os":"ubuntu-24.04-arm","goos":"linux","goarch":"arm64","platform":"linux_arm64"},
|
|
{"os":"windows-latest","goos":"windows","goarch":"amd64","platform":"windows_amd64"}
|
|
]
|
|
secrets: inherit
|