feat: reject event if type is not upgrade-event #1
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: "go: build client binary" | ||
on: | ||
push: | ||
tags: [ 'v*.*.*' ] | ||
permissions: | ||
contents: read | ||
jobs: | ||
releases-matrix: | ||
name: Release Go Binary | ||
runs-on: ubuntu-latest | ||
strategy: | ||
matrix: | ||
goos: [linux, darwin] | ||
goarch: [amd64, arm64] | ||
steps: | ||
- name: Checkout repository | ||
uses: actions/checkout@v3 | ||
- name: Go Release Binaries Normal Volume Size | ||
uses: wangyoucao577/[email protected] | ||
with: | ||
with: | ||
github_token: ${{ secrets.GITHUB_TOKEN }} | ||
goos: ${{ matrix.goos }} | ||
goarch: ${{ matrix.goarch }} | ||
goversion: "https://dl.google.com/go/go1.22.2.linux-amd64.tar.gz" | ||
project_path: client | ||
binary_name: istio-upgrade-consumer-client | ||
asset_name: "istio-upgrade-consumer-client-${{ matrix.goos }}-${{ matrix.goarch }}" |