Skip to content

.github/workflows/release.yaml #19

.github/workflows/release.yaml

.github/workflows/release.yaml #19

Workflow file for this run

on:
release:
types: [created]
jobs:
release-binaries:
name: release
runs-on: ubuntu-latest
strategy:
matrix:
goos: [linux, darwin]
goarch: [amd64, arm64, arm]
exclude:
- goos: darwin
goarch: arm
steps:
- uses: actions/checkout@v3
- uses: wangyoucao577/[email protected]
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
goos: ${{ matrix.goos }}
goarch: ${{ matrix.goarch }}
goversion: 1.22
binary_name: can2mqtt
compress_assets: false
project_path: src
ldflags: -X "main.version=${{ github.ref_name }} "
env:
CGO_ENABLED: 0