Skip to content

Commit e89b48e

Browse files
authored
ci(build): Ensure runner uses windows-2022 image for build jobs (#1405)
1 parent 6488c90 commit e89b48e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/build-toolchain.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ on:
2929
jobs:
3030
build:
3131
name: Preset ${{ inputs.preset }}${{ inputs.tools && '+t' || '' }}${{ inputs.extras && '+e' || '' }}
32-
runs-on: windows-latest
32+
runs-on: windows-2022
3333
timeout-minutes: 40
3434
steps:
3535
- name: Checkout Code
@@ -66,7 +66,7 @@ jobs:
6666
$fileHash = (Get-FileHash -Path VS6_VisualStudio6.7z -Algorithm SHA256).Hash
6767
Write-Host "Downloaded file SHA256: $fileHash"
6868
Write-Host "Expected file SHA256: $env:EXPECTED_HASH"
69-
if ($hash -ne $env:EXPECTED_HASH) {
69+
if ($fileHash -ne $env:EXPECTED_HASH) {
7070
Write-Error "Hash verification failed! File may be corrupted or tampered with."
7171
exit 1
7272
}

0 commit comments

Comments
 (0)