Skip to content

v0.1.4

v0.1.4 #9

Workflow file for this run

on:
release:
types: [created]
name: Build release
jobs:
releases-matrix:
name: Release Go Binary
runs-on: ubuntu-latest
strategy:
matrix:
goos: [linux]
goarch: [amd64]
steps:
- uses: actions/checkout@v4
# download dependencies
- run: ./buildbot/pip/run
# build the binaries
- uses: wangyoucao577/[email protected]
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
goos: ${{ matrix.goos }}
goarch: ${{ matrix.goarch }}
binary_name: "nsbox"
pre_command: export CGO_ENABLED=0
project_path: "./portal"
asset_name: nsbox-${{ matrix.goos }}-${{ matrix.goarch }}
md5sum: false
overwrite: true
retry: 5
ldflags: -X "main.DefaultReleaseTag=${{ github.ref_name }}"
compress_assets: "OFF"