Skip to content

Minigun v0.6.1

Minigun v0.6.1 #13

name: Create release packages
on:
release:
types: [published]
jobs:
package:
strategy:
matrix:
go-version: ["1.22"]
os:
- ubuntu-latest
- macos-latest
- windows-latest
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: ${{ matrix.go-version }}
- name: Build package
run: make build-${{ matrix.os }}
- name: List files
run: ls output/*
- name: Archive production artifacts
uses: actions/upload-artifact@v4
with:
name: packages-${{ matrix.os }}
path: |
output/*
- uses: AButler/upload-release-assets@v3.0
with:
files: "output/*"
repo-token: ${{ secrets.GITHUB_TOKEN }}
- name: Cleanup
run: rm output/*