Skip to content

合并1.0.0版本

合并1.0.0版本 #16

Workflow file for this run

name: build
on:
pull_request:
branches: [ master,dev ]
jobs:
build:
strategy:
matrix:
platform: [ ubuntu-latest ]
go-version: [ 1.22.1 ]
name: Build
runs-on: ${{ matrix.platform }}
steps:
- name: Setup Go
uses: actions/setup-go@v2
with:
go-version: ${{ matrix.go-version }}
- name: Checkout
uses: actions/checkout@v2
- name: Set up xgo
run: |
docker pull techknowlogick/xgo:latest
go install src.techknowlogick.com/xgo@latest
sudo apt install upx
- name: Build
run: |
ls -a
pwd
bash build.sh
- name: Upload artifact
uses: actions/upload-artifact@v2
with:
name: artifact
path: build