diff --git a/.github/workflows/exe-release-prometheuspush.yml b/.github/workflows/exe-release-prometheuspush.yml index 7d5beadb..0c9c11d6 100644 --- a/.github/workflows/exe-release-prometheuspush.yml +++ b/.github/workflows/exe-release-prometheuspush.yml @@ -60,8 +60,8 @@ jobs: & "C:\Program Files (x86)\Inno Setup 6\ISCC.exe" packaging/windows/installer.iss - name: Upload artifact #Install-PackageProvider -Name NuGet -MinimumVersion 2.8.5.201 -Force run: | - Set-PSRepository -Name 'PSGallery' -InstallationPolicy Trusted -AllowClobber - Install-Module -Confirm:$False -Name AWS.Tools.Installer + Set-PSRepository -Name 'PSGallery' -InstallationPolicy Trusted + Install-Module -Confirm:$False -Name AWS.Tools.Installer -AllowClobber Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope LocalMachine Import-Module AWS.Tools.Installer Install-AWSToolsModule AWS.Tools.EC2,AWS.Tools.S3 -CleanUp -Confirm:$False