From d16b03cfa453ba3cb8225d8d29df7cf6e7c6812e Mon Sep 17 00:00:00 2001 From: yuriy0803 <68668177+yuriy0803@users.noreply.github.com> Date: Fri, 28 Apr 2023 17:32:26 +0200 Subject: [PATCH] Update appveyor.yml --- appveyor.yml | 47 +++++++++++------------------------------------ 1 file changed, 11 insertions(+), 36 deletions(-) diff --git a/appveyor.yml b/appveyor.yml index b905377..880e0fc 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -1,41 +1,16 @@ -version: 1.0.0.{build} - -platform: x64 - -branches: - only: - - master - -clone_folder: c:\gopath\src\github.com\account\myproject +version: 1.0.{build} +image: +- Visual Studio 2017 +- Ubuntu environment: - GOPATH: c:\gopath + matrix: + - ARCH: amd64 -install: - - echo %PATH% - - echo %GOPATH% - - set PATH=%GOPATH%\bin;c:\go\bin;%PATH% - - go version - - go env +matrix: + exclude: + - image: Visual Studio 2017 + ARCH: arm64 build_script: - - go build -o buildOutput\myapp -i . - -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 + - ps: go build