Merge pull request #34 from qaldak/dependabot/go_modules/golang.org/x… #30
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Go Release Builder | |
on: | |
push: | |
tags: | |
- "*" | |
permissions: | |
contents: write | |
jobs: | |
go-release-builder: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
with: | |
fetch-depth: 0 | |
- name: Set up Go | |
uses: actions/setup-go@v4 | |
with: | |
go-version: stable | |
- name: GoReleaser Action | |
uses: goreleaser/[email protected] | |
with: | |
distribution: goreleaser | |
version: ${{ env.GITHUB_REF_NAME }} | |
args: release --clean | |
env: | |
GITHUB_TOKEN: ${{ secrets.PUBLISHER_TOKEN }} |