2022-01-25 20:30:25 +08:00
|
|
|
name: Build All
|
|
|
|
on:
|
|
|
|
workflow_dispatch:
|
|
|
|
jobs:
|
|
|
|
build:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
2022-11-02 22:13:54 +08:00
|
|
|
- name: Check out code into the Go module directory
|
|
|
|
uses: actions/checkout@v3
|
|
|
|
- name: Setup Go
|
|
|
|
uses: actions/setup-go@v3
|
2022-01-25 20:30:25 +08:00
|
|
|
with:
|
2023-02-02 15:39:57 +08:00
|
|
|
go-version: '1.20'
|
2022-11-02 22:13:54 +08:00
|
|
|
check-latest: true
|
|
|
|
cache: true
|
2022-01-25 20:30:25 +08:00
|
|
|
- name: Build
|
2022-01-25 20:40:03 +08:00
|
|
|
run: make all
|
2022-01-25 20:30:25 +08:00
|
|
|
- name: Release
|
|
|
|
uses: softprops/action-gh-release@v1
|
|
|
|
with:
|
|
|
|
files: bin/*
|
2022-01-25 20:40:03 +08:00
|
|
|
draft: true
|