Skip to content
This repository has been archived by the owner on Feb 18, 2024. It is now read-only.

Arkctl Release Action #1

Arkctl Release Action

Arkctl Release Action #1

on:
workflow_dispatch:
inputs:
version:
description: 'version of current arkctl'
required: true
permissions:
contents: write
packages: write
jobs:
releases-matrix:
name: Release Go Binary
runs-on: ubuntu-latest
strategy:
matrix:
goos: [linux, windows, darwin]
goarch: ["386", amd64, arm64]
exclude:
- goarch: "386"
goos: darwin
- goarch: arm64
goos: windows
steps:
- uses: actions/checkout@v3
- uses: wangyoucao577/go-release-action@v1
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
goos: ${{ matrix.goos }}
goarch: ${{ matrix.goarch }}
goversion: "1.21"
project_path: "./arkctl"
binary_name: "arkctl"
asset_name: "arkctl-${{ github.event.inputs.version }}-${{ matrix.goos }}-${{ matrix.goarch }}"
release_tag: "Release arkctl-${{ github.event.inputs.version }} !"