Skip to content

v2.2.2

v2.2.2 #9

Workflow file for this run

name: Build
on:
release:
types:
- published
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
goos:
- darwin
- windows
- linux
goarch:
- amd64
- arm64
env:
GOOS: ${{ matrix.goos }}
GOARCH: ${{ matrix.goarch }}
steps:
- uses: actions/checkout@v3
- name: Set up Go
uses: actions/setup-go@v3
with:
go-version: 1.19
- name: Build
run: go build -o icarus cmd/icarus.go
- name: Release file
uses: djnicholson/[email protected]
with:
token: ${{ secrets.GITHUB_TOKEN }}
release-name: ${{ github.event.release.name }}
tag-name: ${{ github.event.release.tag_name }}
asset-name: icarus-${{ matrix.goos }}-${{ matrix.goarch }}
file: icarus