Skip to content

Don't put artifacts in a build/ subdirectory (#115) #10

Don't put artifacts in a build/ subdirectory (#115)

Don't put artifacts in a build/ subdirectory (#115) #10

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 }}