Skip to content

Commit

Permalink
use action instead
Browse files Browse the repository at this point in the history
  • Loading branch information
ren3gadem4rm0t committed Aug 22, 2024
1 parent f98f6f1 commit 0ca9927
Showing 1 changed file with 9 additions and 5 deletions.
14 changes: 9 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,18 +60,22 @@ jobs:
runs-on: ubuntu-latest
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags/')
steps:
- uses: actions/checkout@v4
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0

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

- name: Install GoReleaser
run: go install github.com/goreleaser/goreleaser@latest

- name: Run GoReleaser
run: goreleaser release --clean
uses: goreleaser/goreleaser-action@v6
with:
distribution: goreleaser
version: "~> v2"
args: release --clean
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 0ca9927

Please # to comment.