goreleaser needs go to build binary

This commit is contained in:
techknowlogick 2023-02-26 12:21:50 +08:00
parent 9038442191
commit 3fa7707bc1

View File

@ -12,6 +12,10 @@ jobs:
with: with:
fetch-depth: 0 fetch-depth: 0
- run: git fetch --force --tags - run: git fetch --force --tags
- uses: actions/setup-go@v3
with:
go-version: '>=1.20.1'
cache: true
- uses: https://github.com/goreleaser/goreleaser-action@v4 - uses: https://github.com/goreleaser/goreleaser-action@v4
with: with:
distribution: goreleaser-pro distribution: goreleaser-pro