use native runner and install macfuse

This commit is contained in:
mattn
2026-01-17 01:43:19 +09:00
committed by GitHub
parent e838de9b72
commit 00fbda9af7

View File

@@ -24,15 +24,13 @@ jobs:
- make-release - make-release
strategy: strategy:
matrix: matrix:
goos: [linux, freebsd, darwin, windows] goos: [linux, freebsd, windows]
goarch: [amd64, arm64, riscv64] goarch: [amd64, arm64, riscv64]
exclude: exclude:
- goarch: arm64 - goarch: arm64
goos: windows goos: windows
- goarch: riscv64 - goarch: riscv64
goos: windows goos: windows
- goarch: riscv64
goos: darwin
- goarch: arm64 - goarch: arm64
goos: freebsd goos: freebsd
steps: steps:
@@ -42,6 +40,28 @@ jobs:
github_token: ${{ secrets.GITHUB_TOKEN }} github_token: ${{ secrets.GITHUB_TOKEN }}
goos: ${{ matrix.goos }} goos: ${{ matrix.goos }}
goarch: ${{ matrix.goarch }} goarch: ${{ matrix.goarch }}
ldflags: -X main.version=${{ github. ref_name }}
overwrite: true
md5sum: false
sha256sum: false
compress_assets: false
build-darwin:
runs-on: macos-latest
needs:
- make-release
strategy:
matrix:
goarch: [amd64, arm64]
steps:
- uses: actions/checkout@v3
- name: Install macFUSE
run: brew install --cask macfuse
- uses: wangyoucao577/go-release-action@v1.40
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
goos: darwin
goarch: ${{ matrix.goarch }}
ldflags: -X main.version=${{ github.ref_name }} ldflags: -X main.version=${{ github.ref_name }}
overwrite: true overwrite: true
md5sum: false md5sum: false