mirror of https://github.com/portainer/portainer
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 Windowspull/3255/head
parent
ab2acea463
commit
19810b9f4e
|
@ -18,6 +18,7 @@ Copy-Item -Path "api" -Destination "$go_path\src\github.com\portainer\portainer\
|
||||||
Set-Location -Path "api\cmd\portainer"
|
Set-Location -Path "api\cmd\portainer"
|
||||||
|
|
||||||
go get -t -d -v ./...
|
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
|
Copy-Item -Path "portainer.exe" -Destination "$($env:BUILD_SOURCESDIRECTORY)\dist\portainer.exe" -Force -ErrorAction:SilentlyContinue
|
||||||
|
|
Loading…
Reference in New Issue