version: '{build}'
image: Visual Studio 2019
environment:
  NUGET_API_KEY:
    secure: ZipOsavSURgYiPIWD01xFd9ug5f8/qaNNsHRwuPsqlSFrr6adAwd4yG4qgDQ6jOC
  MYGET_API_KEY:
    secure: JNkkCPfd2fNbhiTek4Hg4lP3Gf1IvB9xFf/Gv0pJGbw4+h8inQBaKZ6XlxpgRO44

build_script:
- cmd: PowerShell -Version 2.0 .\build.ps1 -PushPackages true
test: off

version: '{build}'
image: Visual Studio 2019
environment:
  NUGET_API_KEY:
    secure: ZipOsavSURgYiPIWD01xFd9ug5f8/qaNNsHRwuPsqlSFrr6adAwd4yG4qgDQ6jOC
  MYGET_API_KEY:
    secure: JNkkCPfd2fNbhiTek4Hg4lP3Gf1IvB9xFf/Gv0pJGbw4+h8inQBaKZ6XlxpgRO44

build_script:
- ps: .\build.ps1 -PushPackages true
test: off

Update to powershell script version
Update to powershell script version
