Skip to content
This repository has been archived by the owner on Sep 6, 2024. It is now read-only.

manual build

manual build #2

Workflow file for this run

name: manual build
on:
push:
tags:
- 'v*'
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: checkout
uses: actions/checkout@v3
with:
ref: main
- name: build
uses: crazy-max/ghaction-xgo@v3
with:
xgo_version: latest
go_version: latest
dest: dist
targets: windows/amd64,linux/amd64,linux/arm64,darwin/arm64
v: true
x: false
race: false
ldflags: -s -w
buildmode: default
trimpath: true
- uses: actions/upload-artifact@v3
with:
name: wheels
path: dist/
- name: release
uses: softprops/[email protected]
if: startsWith(github.ref, 'refs/tags/')
with:
files: |
dist/*.whl