Register old cork protos (#327) #42
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: "Release" | |
on: | |
push: | |
branches: | |
- "RC[0-9]/**" | |
tags: | |
- "v[0-9]+.[0-9]+.[0-9]+" # Push events to matching v*, i.e. v1.0, v20.15.10 | |
permissions: | |
contents: write | |
jobs: | |
goreleaser: | |
runs-on: ubuntu-20.04 | |
steps: | |
- name: Checkout | |
uses: actions/[email protected] | |
with: | |
fetch-depth: 0 | |
- uses: actions/setup-go@v2 | |
with: | |
go-version: '1.22' | |
- run: echo ":rocket::rocket::rocket:" > ../release_notes.md | |
if: startsWith(github.ref, 'refs/tags/') | |
- name: Build | |
uses: goreleaser/goreleaser-action@v2 | |
with: | |
version: v1.9.2 | |
args: build --skip-validate # skip validate skips initial sanity checks in order to be able to fully run | |
- name: Release | |
uses: goreleaser/goreleaser-action@v2 | |
if: startsWith(github.ref, 'refs/tags/') | |
with: | |
version: v1.9.2 | |
args: release --rm-dist --release-notes=../release_notes.md | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |