Skip to content

Commit

Permalink
github/workflows: Update release-binaries workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
MusicDin committed Mar 9, 2024
1 parent 749fd05 commit dccc301
Show file tree
Hide file tree
Showing 2 changed files with 41 additions and 33 deletions.
41 changes: 41 additions & 0 deletions .github/workflows/release-binaries.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
name: Release
run-name: "${{ github.ref_name }}: Release"

on:
release:
types:
- published

env:
go-version: 1.18

jobs:
releases-matrix:
name: Release Go Binaries
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
goos:
- linux
- darwin
goarch:
- "386"
- amd64
- arm64
exclude:
- goarch: "386"
goos: darwin
steps:
- name: Checkout
uses: actions/checkout@v4

- name: Release binaries
uses: wangyoucao577/go-release-action@v1
with:
binary_name: kubitect
extra_files: LICENSE
goos: ${{ matrix.goos }}
goarch: ${{ matrix.goarch }}
goversion: ${{ env.go-version }}
github_token: ${{ github.token }}
33 changes: 0 additions & 33 deletions .github/workflows/release-cli-binaries.yml

This file was deleted.

0 comments on commit dccc301

Please sign in to comment.