swapped key combos for better usability. #101
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
# This workflow will build a golang project | |
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-go | |
name: GoReleaser | |
on: | |
push: | |
tags: | |
- "*" # run on new tags | |
permissions: | |
contents: write | |
jobs: | |
goreleaser: | |
runs-on: ubuntu-24.04 | |
steps: | |
- name: Checkout # required for the changelog to work correctly | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- name: Setup Go with cache | |
uses: actions/setup-go@v5 | |
with: | |
go-version: ">=1.22.7" | |
cache: true | |
- name: Run GoReleaser | |
uses: goreleaser/goreleaser-action@v6 | |
with: | |
distribution: goreleaser | |
version: latest | |
args: release --clean --config init/.goreleaser.yaml | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |