Release #56
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: Release | |
on: | |
create: | |
tags: | |
- "v[0-9]+.[0-9]+.[0-9]+" | |
jobs: | |
release: | |
name: Release on GitHub | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out code | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- name: Set up Go | |
uses: actions/setup-go@v4 | |
with: | |
go-version: 1.20.14 | |
- name: Create release on GitHub | |
uses: goreleaser/goreleaser-action@v3 | |
with: | |
distribution: goreleaser | |
version: latest | |
args: release --config=.github/.goreleaser.yaml --release-notes=.github/RELEASE.md | |
env: | |
# Actions are injected automatically, no need to add secrets.GITHUB_TOKEN separately and manually. | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |