Skip to content

Github Actions 🎬 #1

Github Actions 🎬

Github Actions 🎬 #1

Workflow file for this run

name: Release Binary
on:
push:
tags:
- 'v*'
jobs:
build:
runs-on: macos-latest
steps:
- uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: '1.23'
- name: Install Dependencies
run: |
brew install opencv
- name: Build ARM64
run: |
CGO_ENABLED=1 GOOS=darwin GOARCH=arm64 go build -o frostyfriend-darwin-arm64
- name: Build AMD64
run: |
CGO_ENABLED=1 GOOS=darwin GOARCH=amd64 go build -o frostyfriend-darwin-amd64
- name: Create Release
uses: softprops/action-gh-release@v1
if: startsWith(github.ref, 'refs/tags/')
with:
files: |
frostyfriend-darwin-arm64
frostyfriend-darwin-amd64