Skip to content

Commit

Permalink
Update windows.ps1
Browse files Browse the repository at this point in the history
  • Loading branch information
davidkhala authored Sep 13, 2024
1 parent f4f5201 commit 336b65d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .github/self-host/windows.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
mkdir actions-runner; cd actions-runner
# Download the latest runner package
Invoke-WebRequest -Uri https://github.com/actions/runner/releases/download/v2.319.1/actions-runner-win-x64-2.319.1.zip -OutFile actions-runner-win-x64-2.319.1.zip
# Use a copy on OCI can have better network performance https://cn9yc2hk0gzg.objectstorage.ap-singapore-1.oci.customer-oci.com/n/cn9yc2hk0gzg/b/installation-binary/o/actions-runner-win-x64-2.319.1.zip

# Validate the hash is a must since the zip size is 116 MB
if((Get-FileHash -Path actions-runner-win-x64-2.319.1.zip -Algorithm SHA256).Hash.ToUpper() -ne '1c78c51d20b817fb639e0b0ab564cf0469d083ad543ca3d0d7a2cdad5723f3a7'.ToUpper()){ throw 'Computed checksum did not match' }
Expand Down

0 comments on commit 336b65d

Please sign in to comment.