Skip to content

proj: init repo

proj: init repo #32

Workflow file for this run

on:
pull_request:
push:
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
GOOS: [darwin, linux, windows]
GOARCH: [amd64, arm64]
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v4
with:
go-version: '^1.21.5'
- name: Build
run: |
export GOOS=${{ matrix.GOOS }}
export GOARCH=${{ matrix.GOARCH }}
go build -ldflags "-s -w" -o bin/ github.com/liteldev/bdsdown
- uses: actions/upload-artifact@v3
with:
name: ${{ matrix.GOOS }}-${{ matrix.GOARCH }}
path: bin