Skip to content

Commit

Permalink
fix GoReleaser
Browse files Browse the repository at this point in the history
  • Loading branch information
roblaszczak committed Feb 23, 2024
1 parent 1ae8ec1 commit 169b38b
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,18 +28,24 @@ jobs:

goreleaser:
runs-on: ubuntu-latest
container: golang:1.22
needs: [ tag ]

steps:
- name: Checkout
uses: actions/checkout@v2
with:
fetch-depth: 0

- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: 1.22

- name: Run GoReleaser
uses: goreleaser/goreleaser-action@v5
with:
distribution: goreleaser
version: latest
args: release --rm-dist
args: release --clean
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 169b38b

Please sign in to comment.