Skip to content

Make main and lib (#1) #3

Make main and lib (#1)

Make main and lib (#1) #3

Workflow file for this run

on:
push:
tags:
- "v*.*.*"
permissions:
contents: write
jobs:
releases-matrix:
name: Release Go Binary
runs-on: ubuntu-latest
strategy:
matrix:
# build and publish in parallel: linux/amd64, linux/arm64, windows/amd64, darwin/amd64, darwin/arm64
goos: [linux, windows, darwin]
goarch: [amd64, arm64]
exclude:
- goarch: arm64
goos: windows
steps:
- uses: actions/checkout@v4
- uses: wangyoucao577/go-release-action@v1
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
goos: ${{ matrix.goos }}
goarch: ${{ matrix.goarch }}
goversion: "1.21"
project_path: "./cmd/sim"
binary_name: "sim"
overwrite: true
upload: true