Skip to content

Commit

Permalink
chore: update releaser workflow (#18)
Browse files Browse the repository at this point in the history
  • Loading branch information
agneum authored Apr 6, 2023
1 parent f44c613 commit d6c61cd
Showing 1 changed file with 8 additions and 9 deletions.
17 changes: 8 additions & 9 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,22 +10,21 @@ jobs:
runs-on: ubuntu-latest
name: goreleaser
steps:
- name: Set up Go 1.14
uses: actions/setup-go@v1
- name: Set up Go 1.19
uses: actions/setup-go@v3
with:
go-version: 1.14
go-version: 1.19
id: go

- name: Check out code into the Go module directory
uses: actions/checkout@v2

- name: Unshallow
run: git fetch --prune --unshallow
uses: actions/checkout@v3
with:
fetch-depth: 0

- name: goreleaser
uses: goreleaser/goreleaser-action@master
uses: goreleaser/goreleaser-action@v4
with:
version: latest
args: release --rm-dist
args: release --clean
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit d6c61cd

Please sign in to comment.