[FIX] 修复表达式结束判断; 修复无文本的脚本解析问题; 修复windows下导出文件夹无写入问题 #8
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
name: Go | |
on: | |
push: | |
tags: | |
- '*' | |
jobs: | |
build_release: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Set up Go | |
uses: actions/setup-go@v2 | |
with: | |
go-version: 1.16 | |
- name: Build | |
run: | | |
CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -o MagesTools_linux . | |
CGO_ENABLED=0 GOOS=darwin GOARCH=amd64 go build -o MagesTools_mac . | |
CGO_ENABLED=0 GOOS=windows GOARCH=amd64 go build -o MagesTools_win.exe . | |
- uses: ncipollo/release-action@v1 | |
with: | |
artifacts: "MagesTools_linux,MagesTools_mac,MagesTools_win.exe" | |
bodyFile: "" | |
token: ${{ secrets.RELEASE_GITHUB_TOKEN }} |