Skip to content

Commit

Permalink
Workflow for version release when a tag is pushed (#77)
Browse files Browse the repository at this point in the history
Signed-off-by: ZIV NEVO <NEVO@il.ibm.com>
  • Loading branch information
zivnevo authored Nov 21, 2023
1 parent ba2d755 commit 6f5bb41
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/make-release.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: Publish to pkg.go.dev

on:
push:
tags:
- v*.**

permissions:
contents: read

jobs:
publish_on_pkg_go_dev:
name: publish a new version in pkg.go.dev
runs-on: ubuntu-latest
steps:
- name: Check out the repo
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11

- name: Set up Go
uses: actions/setup-go@93397bea11091df50f3d7e59dc26a7711a8bcfbe
with:
go-version-file: ./go.mod

- name: Publish on pkg.go.dev
run: GOPROXY=proxy.golang.org go list -m github.com/np-guard/vpc-network-config-synthesis@${{ github.ref_name }}

0 comments on commit 6f5bb41

Please sign in to comment.