Skip to content

Commit 06325b3

Browse files
authored
change release.yml (#634)
Co-authored-by: Moshe Beladev <[email protected]>
1 parent a159e70 commit 06325b3

File tree

1 file changed

+7
-12
lines changed

1 file changed

+7
-12
lines changed

.github/workflows/release.yml

+7-12
Original file line numberDiff line numberDiff line change
@@ -4,23 +4,18 @@ on:
44
tags:
55
- "*"
66
jobs:
7-
build:
8-
name: Build
7+
releaser:
8+
name: go-releaser
99
runs-on: ubuntu-latest
1010
steps:
11-
- name: Check out code into the Go module directory
12-
uses: actions/checkout@v3
11+
- uses: actions/checkout@v3
1312
with:
1413
fetch-depth: 0 # See: https://goreleaser.com/ci/actions/
15-
16-
- name: Set up Go
17-
uses: actions/setup-go@v3
14+
- run: git fetch --force --tags
15+
- uses: actions/setup-go@v4
1816
with:
19-
go-version: 1.20
20-
id: go
21-
22-
- name: Release
23-
uses: goreleaser/goreleaser-action@master
17+
go-version: stable
18+
- uses: goreleaser/goreleaser-action@v4
2419
with:
2520
version: latest
2621
args: release --clean

0 commit comments

Comments
 (0)