Skip to content

fix: goreleaser go1.21 and fix artifact template for deprecation (#93) #8

fix: goreleaser go1.21 and fix artifact template for deprecation (#93)

fix: goreleaser go1.21 and fix artifact template for deprecation (#93) #8

Workflow file for this run

name: Release
on:
push:
tags: [ 'v*' ]
permissions:
contents: write
jobs:
goreleaser:
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: Install dependencies
run: |
sudo apt update && sudo apt install -y libcryptsetup-dev
- name: Run GoReleaser
uses: goreleaser/goreleaser-action@v4
with:
distribution: goreleaser
version: latest
args: release --clean
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}