Skip to content

Commit 7f0949c

Browse files
authored
Update to goreleaser/goreleaser-action@v6 with v2 yaml (webrpc#298)
1 parent 56462b0 commit 7f0949c

File tree

2 files changed

+8
-4
lines changed

2 files changed

+8
-4
lines changed

.github/.goreleaser.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,8 @@
11
# See documentation at https://goreleaser.com/customization/build.
2+
# yaml-language-server: $schema=https://goreleaser.com/static/schema.json
3+
4+
version: 2
5+
26
project_name: webrpc
37

48
builds:
@@ -75,7 +79,7 @@ brews:
7579
- name: webrpc-gen
7680
ids:
7781
- webrpc-gen
78-
tap:
82+
repository:
7983
owner: webrpc
8084
name: homebrew-tap
8185
token: "{{ .Env.HOMEBREW_TAP_GITHUB_TOKEN }}"
@@ -89,7 +93,7 @@ brews:
8993
- name: webrpc-test
9094
ids:
9195
- webrpc-test
92-
tap:
96+
repository:
9397
owner: webrpc
9498
name: homebrew-tap
9599
token: "{{ .Env.HOMEBREW_TAP_GITHUB_TOKEN }}"

.github/workflows/release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,10 @@ jobs:
1515
with:
1616
go-version: 1.19
1717
- name: Run GoReleaser
18-
uses: goreleaser/goreleaser-action@v3
18+
uses: goreleaser/goreleaser-action@v6
1919
with:
2020
distribution: goreleaser
21-
version: latest
21+
version: "~> v2"
2222
args: release -f .github/.goreleaser.yml --clean
2323
env:
2424
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)