Skip to content

Commit

Permalink
using goreleasre
Browse files Browse the repository at this point in the history
  • Loading branch information
amitz committed Mar 21, 2024
1 parent 3386538 commit ea33101
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,17 +23,24 @@ jobs:
with:
fetch-depth: 0

- name: Fetch all tags
run: |
set -e
git fetch --force --tags
- name: Configure Go
uses: actions/setup-go@v5
with:
go-version: 1.20.5
go-version-file: go.mod
cache-dependency-path: go.sum

- name: Run GoReleaser
id: releaser
uses: goreleaser/goreleaser-action@v5
with:
version: latest
args: release --rm-dist --timeout 60m
args: release --clean --timeout 90m
workdir: cmd/${{ matrix.binary }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Expand Down

0 comments on commit ea33101

Please sign in to comment.