Skip to content

fix: workflow

fix: workflow #4

Workflow file for this run

name: "client-binary"
on:
push:
tags: [ 'v*.*.*' ]
workflow_dispatch:
permissions:
contents: write
packages: write
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: Release Client Binary
uses: wangyoucao577/[email protected]
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 }}"