Skip to content

chores: pin goreleaser to 1.18.2 (temporary) (#68) #6

chores: pin goreleaser to 1.18.2 (temporary) (#68)

chores: pin goreleaser to 1.18.2 (temporary) (#68) #6

Workflow file for this run

name: release
on:
push:
tags:
- v*
env:
GO_VERSION: 1.21
jobs:
GoReeleaser:
name: release
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: actions/setup-go@v4
with:
go-version: ${{ env.GO_VERSION }}
- uses: actions/cache@v3
if: ${{ !env.ACT }}
with:
path: ~/go/pkg/mod
key: ${{ runner.os }}-go-${{ matrix.golang }}-${{ hashFiles('**/go.sum') }}
restore-keys: |
${{ runner.os }}-go-${{ matrix.golang }}-
- name: GoReleaser
uses: goreleaser/goreleaser-action@v5
with:
version: v1.18.2
args: release --clean
env:
GITHUB_TOKEN: ${{ secrets.GORELEASER_GITHUB_TOKEN }}