diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 968726926..cdd5baf3c 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -879,7 +879,7 @@ stages: artifactName: 'WindowsAutomationScreenshots' targetPath: $(Build.SourcesDirectory) - checkout: none - - powershell: | + - pwsh: | iex ((New-Object System.Net.WebClient).DownloadString('https://raw.githubusercontent.com/Servarr/AzureDiscordNotify/master/DiscordNotify.ps1')) env: SYSTEM_ACCESSTOKEN: $(System.AccessToken)