Skip to content

ci: fix

ci: fix #102

Workflow file for this run

name: Build
on:
push:
# Sequence of patterns matched against refs/tags
tags:
- v*.*.* # Push events to v1.0, v1.1, and v1.9 tags
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [windows-latest, macos-latest]
steps:
- uses: actions/checkout@v3
- uses: actions/setup-go@v4
with:
go-version: '^1.21.4' # The Go version to download (if necessary) and use.
- uses: goreleaser/goreleaser-action@v4
with:
# either 'goreleaser' (default) or 'goreleaser-pro':
distribution: goreleaser
version: latest
args: release --clean -f .goreleaser_${{ matrix.os }}.yaml
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}