Skip to content

protoc-gen-twirpy/0.2.0-dev.2 #3

protoc-gen-twirpy/0.2.0-dev.2

protoc-gen-twirpy/0.2.0-dev.2 #3

Workflow file for this run

# https://github.com/marketplace/actions/go-release-binaries
# https://github.com/wangyoucao577/assets-uploader
on:
release:
types: [created]
permissions:
contents: write
packages: write
jobs:
releases-matrix:
if: ${{ startsWith(github.ref, 'refs/tags/protoc-gen-twirpy/') }}
name: Release Go Binary
runs-on: ubuntu-latest
strategy:
matrix:
goos: [ linux, windows, darwin ]
goarch: [ "386", amd64, arm64 ]
exclude:
- goarch: "386"
goos: darwin
steps:
- uses: actions/checkout@v4
- uses: wangyoucao577/go-release-action@v1
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
goos: ${{ matrix.goos }}
goarch: ${{ matrix.goarch }}
goversion: 1.23.1
project_path: ./protoc-gen-twirpy
binary_name: protoc-gen-twirpy
asset_name: protoc-gen-twirpy-${{ matrix.goos }}-${{ matrix.goarch }}
release_tag: ${{ github.ref_name }}