Skip to content

Commit 07dde94

Browse files
authored
publish module to pkg.go.dev in release workflow (#35)
Signed-off-by: Ziv Nevo <[email protected]>
1 parent 4840bcf commit 07dde94

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

.github/workflows/make-release.yaml

+9
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ jobs:
3434
git config user.name ${{ github.actor }}
3535
git tag -a v${{ github.event.inputs.version }} -m "Version ${{ github.event.inputs.version }}"
3636
git push origin v${{ github.event.inputs.version }}
37+
3738
- name: Create a github release
3839
uses: actions/create-release@v1
3940
env:
@@ -45,3 +46,11 @@ jobs:
4546
Changes in this Release:
4647
draft: false
4748
prerelease: false
49+
50+
- name: Set up Go
51+
uses: actions/setup-go@v3
52+
with:
53+
go-version: 1.17
54+
55+
- name: Publish on pkg.go.dev
56+
run: GOPROXY=proxy.golang.org go list -m github.com/np-guard/cluster-topology-analyzer@v${{ github.event.inputs.version }}

0 commit comments

Comments
 (0)