Skip to content

ci: try to fix release args #12

ci: try to fix release args

ci: try to fix release args #12

Workflow file for this run

name: Release
on:
push:
tags:
- "v*"
permissions:
contents: write
env:
GO_VERSION: "1.22"
jobs:
release:
name: Release
runs-on: ubuntu-20.04
steps:
- name: Install dependencies
run: |
sudo apt-get -y update
sudo apt-get -y install rpm
- name: Setup Go
uses: actions/setup-go@v5
with:
go-version: ${{ env.GO_VERSION }}
- name: Checkout code
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Release
uses: goreleaser/goreleaser-action@v6
with:
version: latest
args: release --clean
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}