Revert "Revert "build: enable RDP for release builds""

This reverts commit dce6c23b33.
This commit is contained in:
Samuel Attard 2022-04-04 16:25:19 -07:00
parent dce6c23b33
commit 1ada5d7ddf
No known key found for this signature in database
GPG key ID: 265C198401D8EFA7

View file

@ -23,10 +23,6 @@
# https://www.appveyor.com/docs/build-configuration/#secure-variables # https://www.appveyor.com/docs/build-configuration/#secure-variables
# https://www.appveyor.com/docs/build-configuration/#custom-environment-variables # https://www.appveyor.com/docs/build-configuration/#custom-environment-variables
# Uncomment these lines to enable RDP
on_finish:
- ps: $blockRdp = $true; iex ((new-object net.webclient).DownloadString('https://raw.githubusercontent.com/appveyor/ci/master/scripts/enable-rdp.ps1'))
version: 1.0.{build} version: 1.0.{build}
build_cloud: electron-16-core build_cloud: electron-16-core
image: vs2019bt-16.6.2 image: vs2019bt-16.6.2
@ -235,6 +231,8 @@ deploy_script:
node script/release/ci-release-build.js --job=electron-woa-testing --ci=VSTS --armTest --appveyorJobId=$env:APPVEYOR_JOB_ID $env:APPVEYOR_REPO_BRANCH node script/release/ci-release-build.js --job=electron-woa-testing --ci=VSTS --armTest --appveyorJobId=$env:APPVEYOR_JOB_ID $env:APPVEYOR_REPO_BRANCH
} }
on_finish: on_finish:
# Uncomment this lines to enable RDP
- ps: $blockRdp = $true; iex ((new-object net.webclient).DownloadString('https://raw.githubusercontent.com/appveyor/ci/master/scripts/enable-rdp.ps1'))
- cd .. - cd ..
- if exist out\Default\windows_toolchain_profile.json ( appveyor-retry appveyor PushArtifact out\Default\windows_toolchain_profile.json ) - if exist out\Default\windows_toolchain_profile.json ( appveyor-retry appveyor PushArtifact out\Default\windows_toolchain_profile.json )
- if exist out\Default\dist.zip (appveyor-retry appveyor PushArtifact out\Default\dist.zip) - if exist out\Default\dist.zip (appveyor-retry appveyor PushArtifact out\Default\dist.zip)