Skip to content

Merge branch 'main' of github.com:pokt-foundation/dwh-client #13

Merge branch 'main' of github.com:pokt-foundation/dwh-client

Merge branch 'main' of github.com:pokt-foundation/dwh-client #13

Workflow file for this run

name: Release
on:
push:
branches:
- main
jobs:
release:
runs-on: ubuntu-22.04
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
outputs:
version: ${{ steps.semantic.outputs.release-version }}
steps:
- uses: actions/checkout@v3
- name: Tag Semantic Release Version
id: semantic
uses: codfish/semantic-release-action@v3
with:
branches: |
[
'main'
]
tag-format: "v${version}"
additional-packages: |
['@semantic-release/commit-analyzer']
plugins: |
['@semantic-release/commit-analyzer']
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: 1.21
- name: Go List
if: steps.semantic.outputs.new-release-published == 'true'
run: GOPROXY=proxy.golang.org go list -m github.com/pokt-foundation/dwh-client@v${{ steps.semantic.outputs.release-version }}