Skip to content

Feat: make instance ID optional for share command #20

Feat: make instance ID optional for share command

Feat: make instance ID optional for share command #20

Workflow file for this run

name: Release
on:
push:
tags:
- 'v*'
jobs:
build:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: '1.25'
- name: Build binaries
run: |
mkdir -p dist
# Linux
GOOS=linux GOARCH=amd64 go build -o dist/gotoni-linux-amd64 .
GOOS=linux GOARCH=arm64 go build -o dist/gotoni-linux-arm64 .
# macOS
GOOS=darwin GOARCH=amd64 go build -o dist/gotoni-darwin-amd64 .
GOOS=darwin GOARCH=arm64 go build -o dist/gotoni-darwin-arm64 .
# Windows
GOOS=windows GOARCH=amd64 go build -o dist/gotoni-windows-amd64.exe .
- name: Create checksums
run: |
cd dist
sha256sum * > checksums.txt
- name: Release
uses: softprops/action-gh-release@v1
with:
files: dist/*
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}