From 9847c5e83a67787ae2114ee147610475a44a499a Mon Sep 17 00:00:00 2001 From: Jan Henrik Wiesner Date: Wed, 23 Oct 2024 16:34:50 +0200 Subject: [PATCH] GHA: Fixed expected hash --- .github/workflows/build_wsl.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build_wsl.yml b/.github/workflows/build_wsl.yml index 46ea5f58ee..05d2448489 100644 --- a/.github/workflows/build_wsl.yml +++ b/.github/workflows/build_wsl.yml @@ -36,7 +36,7 @@ jobs: Set-LocalUser -Name "runneradmin" -Password (ConvertTo-SecureString -AsPlainText "Ansible_password123!" -Force) New-NetFirewallRule -DisplayName "ALLOW TCP PORT 5986" -Direction inbound -Profile Any -Action Allow -LocalPort 5986 -Protocol TCP Invoke-WebRequest https://raw.githubusercontent.com/ansible/ansible-documentation/devel/examples/scripts/ConfigureRemotingForAnsible.ps1 -OutFile .\ConfigureRemotingForAnsible.ps1 - $expectedChecksum = "C73A5F3C8A8AB50BC971551FA626438FEA89E0ED71F77EE570094E0C394C419E" + $expectedChecksum = "EBA72DF06E3E77709595F75D1D5B4D95B06602429DD2A3F7867406DF875B0C70" $actualChecksum = Get-FileHash -Path ".\ConfigureRemotingForAnsible.ps1" -Algorithm SHA256 | Select-Object -ExpandProperty Hash if ($actualChecksum -ne $expectedChecksum) { Write-Output "Checksum mismatch"