Skip to content

feat: append macOS version to OS (#12) #17

feat: append macOS version to OS (#12)

feat: append macOS version to OS (#12) #17

Workflow file for this run

name: Build
on:
- push
- pull_request
jobs:
build:
name: ${{ matrix.os }}-${{ matrix.arch }}
runs-on: ubuntu-latest
strategy:
matrix:
os: [linux, windows, darwin]
arch: [386, amd64, arm64]
exclude:
- arch: "386"
os: darwin
- arch: arm64
os: windows
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version: '1.16.2'
- name: Build
run: GOOS=${{ matrix.os }} GOARCH=${{ matrix.arch }} go build -ldflags "-s -w"
- uses: actions/upload-artifact@v4
with:
name: bunnyfetch-${{ matrix.os }}-${{ matrix.arch }}
path: |
bunnyfetch
bunnyfetch.exe