version v0.17.0 (#365) #31
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Publish a new release on pkg.go.dev | |
on: | |
push: | |
tags: | |
- v[0-9]+.** | |
permissions: | |
contents: read | |
jobs: | |
publish_release: | |
name: Publish a new release on pkg.go.dev | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out the repo | |
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 | |
- name: Set up Go | |
uses: actions/setup-go@41dfa10bad2bb2ae585af6ee5bb4d7d973ad74ed | |
with: | |
go-version-file: ./go.mod | |
- name: Publish on pkg.go.dev | |
run: GOPROXY=proxy.golang.org go list -m github.com/np-guard/cloud-resource-collector@${{ github.ref_name }} |