Merge pull request #180 from oakestra/179-outdated-readme-including-b… #58
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Golang net manager artifacts | |
on: | |
push: | |
tags: | |
- 'v*.*.*' | |
- 'alpha-v*.*.*' | |
jobs: | |
releases-matrix: | |
name: Release Go Binary | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
# build and publish in parallel: linux/386, linux/amd64, linux/arm64, windows/386, windows/amd64, darwin/amd64, darwin/arm64 | |
goos: [linux] | |
goarch: [amd64, arm64] | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: wangyoucao577/[email protected] | |
with: | |
github_token: ${{ secrets.PACKAGES_TOKEN }} | |
goos: ${{ matrix.goos }} | |
goarch: ${{ matrix.goarch }} | |
goversion: "https://go.dev/dl/go1.22.1.linux-amd64.tar.gz" | |
project_path: "./node-net-manager" | |
binary_name: "NetManager" | |
release_tag: ${{ steps.meta.outputs.tags }} | |
asset_name: NetManager_${{ matrix.goarch }} | |
extra_files: node-net-manager/build/install.sh node-net-manager/config/tuncfg.json node-net-manager/config/netcfg.json | |
overwrite: TRUE | |