这么简单的东西我都得改来改去的服了破防了气哭了紫砂了我一次也没有觉得写代码开心过受不了了发布 0.6.12 #20
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
on: | |
push: | |
tags: | |
- "v*" | |
permissions: | |
contents: write | |
packages: write | |
jobs: | |
create-release: | |
name: Create Release | |
runs-on: ubuntu-latest | |
steps: | |
- name: Create Release | |
uses: softprops/action-gh-release@v2 | |
build-matrix: | |
name: Release Go Binary | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
goos: [linux, darwin, windows] | |
goarch: [amd64, arm64] | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Release Go Binary | |
uses: wangyoucao577/go-release-action@v1 | |
with: | |
pre_command: export CGO_ENABLED=0 | |
goos: ${{ matrix.goos }} | |
goarch: ${{ matrix.goarch }} | |
github_token: ${{ secrets.GITHUB_TOKEN }} | |
extra_files: | | |
LICENSE | |
README.md | |
config.example.toml | |
ldflags: -s -w | |
binary_name: ManyACG |