Skip to content

Workflow file for this run

name: Create and release go-cli binaries for current and latest tags
on:
release:
types:
- published
jobs:
build:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v2
- name: Set up Go
uses: actions/setup-go@v2
with:
go-version: 1.18
- name: Build go-cli binary releases
run: cd ./cli && ./buildreleases.sh
- name: Create release
uses: ncipollo/release-action@v1
with:
allowUpdates: true
artifacts: ./cli/bin/instant-linux,./cli/bin/instant-macos,./cli/bin/instant-win.exe
tag: latest
commit: main
- name: Release binaries to referenced tag
uses: softprops/action-gh-release@v1
with:
files: |
./cli/bin/instant-linux
./cli/bin/instant-macos
./cli/bin/instant-win.exe