Skip to content

Merge pull request #86 from form3tech-oss/kd-wp-change #15

Merge pull request #86 from form3tech-oss/kd-wp-change

Merge pull request #86 from form3tech-oss/kd-wp-change #15

Workflow file for this run

name: Release
on:
push:
branches:
- master
jobs:
tag:
name: Tag
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@8f4b7f84864484a7bf31766abe9204da3cbe65b3 # v3.5.0
with:
fetch-depth: 0
- name: Bump version and push tag
uses: mathieudutour/github-tag-action@fcfbdceb3093f6d85a3b194740f8c6cec632f4e2 # v6.1
with:
github_token: "${{ secrets.GITHUB_TOKEN }}"
goreleaser:
name: Create release
needs: tag
runs-on: ubuntu-22.04
steps:
- name: Checkout
uses: actions/checkout@8f4b7f84864484a7bf31766abe9204da3cbe65b3 # v3.5.0
with:
fetch-depth: 0
- name: Set up Go
uses: actions/setup-go@4d34df0c2316fe8122ab82dc22947d607c0c91f9 # v4.0.0
with:
go-version-file: 'go.mod'
- name: Run GoReleaser release
uses: goreleaser/goreleaser-action@b508e2e3ef3b19d4e4146d4f8fb3ba9db644a757 # v3.2.0
with:
distribution: goreleaser
version: v1.7.0
args: release --rm-dist
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}