-
Notifications
You must be signed in to change notification settings - Fork 0
/
.YAML
16 lines (15 loc) · 1.15 KB
/
.YAML
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
Create a folder under the drive root
$ 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# Optional: Validate the hash= true
$ 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' }# Extract the installer
$ Add-Type -AssemblyName System.IO.Compression.FileSystem ; [System.IO.Compression.ZipFile]::ExtractToDirectory("$PWD/actions-runner-win-x64-2.319.1.zip", "$PWD")
Configure
# Create the runner and start the configuration experience
$ ./config.cmd --url https://github.com/Amwmiller5/angelnetcoin-network-mainnet.eth.sol --token BGOLICRJOX6PXWLCV5OMDPTG3J34G# Run it!
$ ./run.cmd
Using your self-hosted runner
# Use this YAML in your workflow file for each job
runs-on: self-hosted
httpProxy:
- name: Identity-Aware Proxy Header Check
uses: StephenCathcart/iap-header-check@v1.1