Skip to content

Use name_template in goreleaser config #6

Use name_template in goreleaser config

Use name_template in goreleaser config #6

Workflow file for this run

name: Run GoReleaser
on:
push:
tags:
- '*'
jobs:
goreleaser:
runs-on: ubuntu-latest
steps:
- name: Check out sources
uses: actions/checkout@v2
- name: Install Protobuf Compiler
uses: arduino/setup-protoc@v1
with:
version: '3.x'
- name: Set up Go environment
uses: actions/setup-go@v2
with:
go-version: '^1.20'
- name: Set up Protobuf Compiler in Go environment
run: |
go install google.golang.org/protobuf/cmd/[email protected]
go install google.golang.org/grpc/cmd/[email protected]
- name: Generate protobuf language bindings
run: |
make all
- name: Run GoReleaser
uses: goreleaser/goreleaser-action@v2
with:
distribution: goreleaser
version: latest
args: release --clean
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}