mihomo/.github/workflows/build.yaml

23 lines
505 B
YAML
Raw Normal View History

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
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
- name: Build
2022-01-25 20:40:03 +08:00
run: make all
- name: Release
uses: softprops/action-gh-release@v1
with:
files: bin/*
2022-01-25 20:40:03 +08:00
draft: true