Skip to content

fix(workflow):goreleaser new version compatibility issues #9

fix(workflow):goreleaser new version compatibility issues

fix(workflow):goreleaser new version compatibility issues #9

Workflow file for this run

name: Build Binary
on:
push:
tags:
- 'v*'
workflow_dispatch:
jobs:
goreleaser:
runs-on: ubuntu-latest
timeout-minutes: 60
steps:
-
name: Checkout
uses: actions/checkout@v2
with:
fetch-depth: 0
-
name: Set up Go
uses: actions/setup-go@v2
with:
go-version: 1.18
-
name: Run GoReleaser
uses: goreleaser/goreleaser-action@v2
with:
distribution: goreleaser
version: v1.18.2
args: -f .github/conf/.goreleaser.yml
workdir: .
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}