1 changed files with 11 additions and 36 deletions
@ -1,41 +1,16 @@ |
|||||||
version: 1.0.0.{build} |
version: 1.0.{build} |
||||||
|
image: |
||||||
platform: x64 |
- Visual Studio 2017 |
||||||
|
- Ubuntu |
||||||
branches: |
|
||||||
only: |
|
||||||
- master |
|
||||||
|
|
||||||
clone_folder: c:\gopath\src\github.com\account\myproject |
|
||||||
|
|
||||||
environment: |
environment: |
||||||
GOPATH: c:\gopath |
matrix: |
||||||
|
- ARCH: amd64 |
||||||
|
|
||||||
install: |
matrix: |
||||||
- echo %PATH% |
exclude: |
||||||
- echo %GOPATH% |
- image: Visual Studio 2017 |
||||||
- set PATH=%GOPATH%\bin;c:\go\bin;%PATH% |
ARCH: arm64 |
||||||
- go version |
|
||||||
- go env |
|
||||||
|
|
||||||
build_script: |
build_script: |
||||||
- go build -o buildOutput\myapp -i . |
- ps: go build |
||||||
|
|
||||||
build_script: |
|
||||||
- ps: .\build.ps1 |
|
||||||
|
|
||||||
artifacts: |
|
||||||
- path: buildOutput/myapp |
|
||||||
name: binary |
|
||||||
|
|
||||||
deploy: |
|
||||||
release: myapp-$(appveyor_build_version) |
|
||||||
description: 'This is a release of my awesome application.' |
|
||||||
provider: GitHub |
|
||||||
auth_token: |
|
||||||
secure: FW3tJ3fMncxvs58/ifSP7w+kBl9BlxvRMr9liHmnBs14ALRG8Vfyol+sNhj9u2JA |
|
||||||
artifact: binary # This is the name we specified in the artifacts section. |
|
||||||
draft: false |
|
||||||
prerelease: false |
|
||||||
on: |
|
||||||
branch: master |
|
||||||
|
|||||||
Loading…
Reference in new issue