Skip to content

v3.3.1

v3.3.1 #22

name: cli release
on:
release:
types: [ published ]
env:
CLI_PATH: .
jobs:
releases-matrix:
name: Release Go Binary
runs-on: ubuntu-latest
strategy:
matrix:
goos: [ linux, darwin ]
goarch: [ "386", amd64, arm64 ]
exclude:
- goarch: "386"
goos: darwin
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Release binaries
uses: wangyoucao577/go-release-action@v1
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
goos: ${{ matrix.goos }}
goarch: ${{ matrix.goarch }}
goversion: 1.18
binary_name: "kubitect"
project_path: ${{ env.CLI_PATH }}
extra_files: LICENSE