Skip to content

fix: shell script update #5

fix: shell script update

fix: shell script update #5

Workflow file for this run

name: Release
on:
push:
tags:
- 'v*.*.*' # Trigger the workflow on version tags
jobs:
release:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: '1.22' # Set the Go version to 1.22
- name: Install dependencies
run: go mod tidy
- name: Run GoReleaser
uses: goreleaser/goreleaser-action@v4
with:
version: latest
args: release --clean
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # Use the automatically provided GitHub token