Skip to content

Commit

Permalink
Merge branch 'gorun'
Browse files Browse the repository at this point in the history
  • Loading branch information
chunrichi committed Mar 5, 2023
2 parents a25d887 + 9dd701b commit 20f2bbf
Showing 1 changed file with 11 additions and 4 deletions.
15 changes: 11 additions & 4 deletions .github/workflows/go-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,17 +20,24 @@ jobs:
- name: Change go env
run: go env -w GO111MODULE=on

- name: Build
- name: Build Windows
env:
GOOS: windows
GOARCH: amd64
working-directory: ./backup4abap_go
run: go build -o backup.exe ./main.go
run: go build -o backup_win64.exe ./main.go

- name: Build Mac
env:
GOOS: darwin
GOARCH: amd64
working-directory: ./backup4abap_go
run: go build -o backup_mac64 ./main.go

- name: Create Release
uses: softprops/action-gh-release@v1
if: startsWith(github.ref, 'refs/tags/')
with:
body: "压缩代码下载器,用于从已配置 backup4abap_interface 的 ICF 服务通过 HTTP 请求下载代码包到本地,并自动解压。目前仅生成 win64 的运行程序"
files: ./backup4abap_go/backup.exe
body: "压缩代码下载器,用于从已配置 backup4abap_interface 的 ICF 服务通过 HTTP 请求下载代码包到本地,并自动解压。"
files: ./backup4abap_go/backup*
token: ${{ secrets.RELEASE_TOKEN }}

0 comments on commit 20f2bbf

Please sign in to comment.