Skip to content

known_dlls_list update #8

known_dlls_list update

known_dlls_list update #8

Workflow file for this run

# This workflow will build a golang project
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-go
name: build-go-binary
on:
release:
types: [created] # 表示在创建新的 Release 时触发
jobs:
build-go-binary:
runs-on: ubuntu-latest
strategy:
matrix:
goos: [windows] # 需要打包的系统
goarch: [amd64, arm64] # 需要打包的架构
steps:
- uses: actions/checkout@v3
- uses: wangyoucao577/go-release-action@v1.49
with:
github_token: ${{ secrets.TOKEN }} # 一个默认的变量,用来实现往 Release 中添加文件
project_path: ./cmd/
goos: ${{ matrix.goos }}
goarch: ${{ matrix.goarch }}
goversion: 1.21 # 可以指定编译使用的 Golang 版本
extra_files: README.md README_EN.md # 需要包含的额外文件