Skip to content

v1.8.1

v1.8.1 #20

Workflow file for this run

name: ⚙️ Build
on:
release:
types:
- released
permissions:
contents: write
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 'github.com/echo-webkom/cenv/cmd.Version=${{ github.event.release.tag_name }}'
project_path: . ./cenv-install