chore: update appveyor for windows build

This commit is contained in:
Bo-Yi Wu 2019-11-23 21:48:06 +08:00
parent fe798d95b2
commit 2af2c10e0e

View File

@ -10,6 +10,7 @@ environment:
secure: em/TNLUXxG19O/HvbvfJuQ== secure: em/TNLUXxG19O/HvbvfJuQ==
docker_password: docker_password:
secure: Yo9FJJqihaNz5q8T4Jz8tQ== secure: Yo9FJJqihaNz5q8T4Jz8tQ==
GO111MODULE: on
branches: branches:
only: only:
@ -23,6 +24,7 @@ install:
build_script: build_script:
- ps: | - ps: |
go mod download
if ( $env:APPVEYOR_REPO_TAG -eq 'false' ) { if ( $env:APPVEYOR_REPO_TAG -eq 'false' ) {
$version = $env:APPVEYOR_REPO_COMMIT $version = $env:APPVEYOR_REPO_COMMIT
} else { } else {