Skip to content

Commit

Permalink
change release.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
moshebe committed Jun 2, 2023
1 parent a159e70 commit 09e82fc
Showing 1 changed file with 7 additions and 12 deletions.
19 changes: 7 additions & 12 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,23 +4,18 @@ on:
tags:
- "*"
jobs:
build:
name: Build
releaser:
name: go-releaser
runs-on: ubuntu-latest
steps:
- name: Check out code into the Go module directory
uses: actions/checkout@v3
- uses: actions/checkout@v3
with:
fetch-depth: 0 # See: https://goreleaser.com/ci/actions/

- name: Set up Go
uses: actions/setup-go@v3
- run: git fetch --force --tags
- uses: actions/setup-go@v4
with:
go-version: 1.20
id: go

- name: Release
uses: goreleaser/goreleaser-action@master
go-version: stable
- uses: goreleaser/goreleaser-action@v4
with:
version: latest
args: release --clean
Expand Down

0 comments on commit 09e82fc

Please sign in to comment.