Skip to content

release action fix #2

release action fix

release action fix #2

Workflow file for this run

name: Build Binaries - Normal
on:
push:
branches:
- main
- master
jobs:
build:
name: Build Binaries
runs-on: ubuntu-latest
strategy:
matrix:
goos: [linux, darwin, windows]
goarch: [amd64, arm64]
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: '1.23'
- name: Build binaries
run: |
mkdir -p dist
GOOS=${{ matrix.goos }} GOARCH=${{ matrix.goarch }} go build -o dist/zipserver_go_${{ matrix.goos }}_${{ matrix.goarch }}
- name: Upload binaries as artifact
uses: actions/upload-artifact@v3
with:
name: zipserver_go_${{ matrix.goos }}_${{ matrix.goarch }}
path: dist/