Skip to content

Skip processing on closed result channel, fix panic (#215) #58

Skip processing on closed result channel, fix panic (#215)

Skip processing on closed result channel, fix panic (#215) #58

Workflow file for this run

name: Upload Executables
# run this workflow when a release is published
on:
push:
# Sequence of patterns matched against refs/tags
tags:
- "v*" # Push events to matching v*, i.e. v1.0, v20.15.10
jobs:
build:
name: Build and Upload
runs-on: ubuntu-latest
steps:
- name: Use latest Go version
uses: actions/setup-go@v3
with:
go-version: ^1.18
- name: Checkout source
uses: actions/checkout@master
with:
ref: ${{ github.ref }}
- name: Build and deploy binaries
run: make -j8 build # '-j N' runs each build task in parallel.
- name: Release
uses: softprops/action-gh-release@v1
if: startsWith(github.ref, 'refs/tags/')
with:
files: bin/*