fix(build-system): fix build system on CI for Windows (#3250)

* fix(build-system): fix build system on CI for Windows

* fix(build-system): fix build system on CI for Windows

* fix(build-system): fix build system on CI for Windows

* fix(build-system): fix build system on CI for Windows

* fix(build-system): fix build system on CI for Windows

* fix(build-system): fix build system on CI for Windows

* fix(build-system): fix build system on CI for Windows

* fix(build-system): fix build system on CI for Windows

* fix(build-system): fix build system on CI for Windows
pull/3255/head
Anthony Lapenna 2019-10-10 16:29:00 +13:00 committed by GitHub
parent ab2acea463
commit 19810b9f4e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 1 deletions

View File

@ -18,6 +18,7 @@ Copy-Item -Path "api" -Destination "$go_path\src\github.com\portainer\portainer\
Set-Location -Path "api\cmd\portainer"
go get -t -d -v ./...
go build -v
## go build -v
& cmd /c 'go build -v 2>&1'
Copy-Item -Path "portainer.exe" -Destination "$($env:BUILD_SOURCESDIRECTORY)\dist\portainer.exe" -Force -ErrorAction:SilentlyContinue