Configure NetworkManager using static network interface definitions (#1) #1
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
on: | |
push: | |
tags: | |
- 'v*' | |
name: Release | |
permissions: | |
contents: write | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up Go | |
uses: actions/setup-go@v4 | |
with: | |
go-version: '1.20' | |
- name: Run tests | |
run: go test -v ./... | |
- name: Build binaries | |
run: | | |
GOOS=linux GOARCH=arm64 go build -o nm-configurator-arm64 main.go | |
GOOS=linux GOARCH=amd64 go build -o nm-configurator-amd64 main.go | |
- name: Create a release | |
uses: softprops/action-gh-release@v1 | |
with: | |
files: | | |
nm-configurator-arm64 | |
nm-configurator-amd64 |