Skip to content

v1.7.1

v1.7.1 #17

Workflow file for this run

name: ⚙️ Build
on:
release:
types: [published]
workflow_dispatch:
jobs:
build:
name: ⚙️ Build
runs-on: ubuntu-latest
strategy:
matrix:
goos: [linux, windows, darwin]
goarch: [amd64, arm64]
exclude:
- goarch: arm64
goos: windows
steps:
- name: 🔍 Checkout
uses: actions/checkout@v4
- uses: wangyoucao577/go-release-action@v1
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
goos: ${{ matrix.goos }}
goarch: ${{ matrix.goarch }}
multi_binaries: true
binary_name: cenv
ldflags: -X cmd.Version=${{ github.event.release.tag_name }}
project_path: . ./cenv-install