Skip to content

Added separate action to publish versioned binaries. #2

Added separate action to publish versioned binaries.

Added separate action to publish versioned binaries. #2

Workflow file for this run

name: Publish version
on:
push:
tags:
- "*"
jobs:
publish:
runs-on: ubuntu-latest
strategy:
matrix:
os: [ linux, darwin ]
arch: [ amd64, arm64 ]
steps:
- name: Check out
uses: actions/checkout@v4
- name: Create release
uses: softprops/action-gh-release@v1
- name: Publish binaries
uses: wangyoucao577/go-release-action@v1
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
goos: ${{ matrix.os }}
goarch: ${{ matrix.arch }}
release_tag: ${{ github.ref_name }}
asset_name: gobbler-${{ matrix.os }}-${{ matrix.arch }}
overwrite: true
compress_assets: false