Create Release #5
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: Create Release | |
on: | |
workflow_dispatch: | |
inputs: | |
tag_name: | |
description: 'Tag name for the release' | |
required: true | |
release_name: | |
description: 'Release name' | |
required: true | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v2 | |
- name: Set up Go | |
uses: actions/setup-go@v2 | |
with: | |
go-version: '1.21.6' | |
- name: Build and Release | |
run: | | |
make all | |
- name: GitHub Release | |
uses: softprops/action-gh-release@v1 | |
with: | |
files: | | |
bin/* | |
tag_name: ${{ github.event.inputs.tag_name }} | |
name: ${{ github.event.inputs.release_name }} | |
draft: false | |
token: ${{ secrets.RELEASE_TOKEN }} |