Skip to content

Merge pull request #111 from fasibio/dependabot/github_actions/action… #61

Merge pull request #111 from fasibio/dependabot/github_actions/action…

Merge pull request #111 from fasibio/dependabot/github_actions/action… #61

Workflow file for this run

name: Release Go project
on:
push:
tags:
- "*" # triggers only if push new tag version, like `0.8.4` or else
jobs:
release:
name: GoReleaser build
runs-on: ubuntu-latest
steps:
- name: Check out code into the Go module directory
uses: actions/checkout@v4
with:
fetch-depth: 0 # See: https://goreleaser.com/ci/actions/
- name: Set up Go 1.19
uses: actions/setup-go@v5
with:
go-version: 1.19
id: go
- name: Run GoReleaser
uses: goreleaser/goreleaser-action@master
with:
distribution: goreleaser
version: latest
args: release --rm-dist
env:
GITHUB_TOKEN: ${{ secrets.TOKEN }}
# - name: Run GoRelease Furies
# uses: goreleaser/goreleaser-action@master
# with:
# distribution: goreleaser
# version: latest
# args: release --rm-dist