Skip to content

1.0.0

1.0.0 #3

Workflow file for this run

name: build
on:
workflow_dispatch:
release:
types: [ created ]
permissions:
contents: write
jobs:
xgo:
runs-on: ubuntu-latest
steps:
-
name: Checkout
uses: actions/checkout@v4
-
name: Build
uses: crazy-max/ghaction-xgo@v3
with:
xgo_version: latest
go_version: latest
dest: build
prefix: tcpcheck
targets: windows/amd64,linux/amd64,linux/arm64,darwin/arm64
v: true
x: false
race: false
ldflags: -s -w
buildmode: default
trimpath: true
- name: Release binary to GitHub
uses: softprops/action-gh-release@v1
with:
files: |
build/*