ci: specify bash for release scripts (#14) #6
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: | |
push: | |
tags: | |
- v* | |
permissions: | |
contents: write | |
jobs: | |
goreleaser: | |
name: GoReleaser | |
runs-on: ubuntu-latest | |
steps: | |
- name: Setup Task | |
uses: arduino/setup-task@v2 | |
- name: Setup Go | |
uses: actions/setup-go@v5 | |
with: | |
go-version: 1.23.x | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- name: GoReleaser Dry Run | |
run: task goreleaser:dryrun | |
- name: Setup Environment | |
run: echo 'GITHUB_TOKEN=${{secrets.GH_PAT}}' > .release-env | |
- name: GoReleaser Release | |
run: task goreleaser:release |