Skip to content

Release

Release #10

Workflow file for this run

name: Build Release Binaries
on:
workflow_dispatch:
release:
types: [published]
permissions:
contents: write
packages: write
jobs:
release:
name: Matrix build
runs-on: ubuntu:22.04
strategy:
matrix:
goos: [linux, windows, darwin]
goarch: [amd64, arm64]
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Build and release
uses: wangyoucao577/go-release-action@v1.53
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
goos: ${{ matrix.goos }}
goarch: ${{ matrix.goarch }}
project_path: |
./cmd/ncdtree/
pre_command: |
apt-get update && apt-get install -y libbrotli-dev