Do not attempt winget (un)install validation

Let's get it right the first time and then let MS do it for us
This commit is contained in:
Jordan Dominion
2023-07-03 14:13:29 -04:00
parent 347e6b2f95
commit e60bf12f87
2 changed files with 0 additions and 23 deletions
-12
View File
@@ -1515,15 +1515,6 @@ jobs:
if: "!(cancelled() || failure()) && needs.deploy-tgs.result == 'success'"
runs-on: windows-latest
steps:
- name: Disable Smart Screen # https://superuser.com/a/1778345
shell: powershell
run: |
Set-ItemProperty -Path "HKLM:\SOFTWARE\Policies\Microsoft\Windows\System" -Name "EnableSmartScreen" -Type DWord -Value 0
if (!(Test-Path "HKLM:\SOFTWARE\Policies\Microsoft\MicrosoftEdge\PhishingFilter")) {
New-Item -Path "HKLM:\SOFTWARE\Policies\Microsoft\MicrosoftEdge\PhishingFilter" -Force | Out-Null
}
Set-ItemProperty -Path "HKLM:\SOFTWARE\Policies\Microsoft\MicrosoftEdge\PhishingFilter" -Name "EnabledV9" -Type DWord -Value 0
- name: Setup dotnet
uses: actions/setup-dotnet@v2
with:
@@ -1537,9 +1528,6 @@ jobs:
- name: Install wingetcreate
run: winget install wingetcreate --disable-interactivity --accept-source-agreements
- name: Enable LocalManifestFiles
run: winget settings --enable LocalManifestFiles
- name: Checkout
uses: actions/checkout@v3