Skip to content

Remove builds for mac and windows (#106) #8

Remove builds for mac and windows (#106)

Remove builds for mac and windows (#106) #8

Workflow file for this run

name: goreleaser
on:
push:
tags:
- 'v*'
jobs:
goreleaser:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
fetch-tags: 'true'
- name: version
run: |
VERSION=$(git describe --always --tags --dirty)
# Set output parameters.
echo ::set-output name=binary_version::${VERSION}
- name: Set up Go
uses: actions/setup-go@v5
- name: Run GoReleaser
uses: goreleaser/goreleaser-action@v6
with:
version: latest
args: release --clean
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
BINARY_VERSION: ${{ steps.version.outputs.binary_version }}