install-runner.ps1 481 B

1234567891011121314
  1. ## install the runner
  2. Write-Host "Creating actions-runner directory for the GH Action installtion"
  3. New-Item -ItemType Directory -Path C:\actions-runner ; Set-Location C:\actions-runner
  4. Write-Host "Downloading the GH Action runner from s3 bucket $s3_location"
  5. aws s3 cp ${S3_LOCATION_RUNNER_DISTRIBUTION} actions-runner.zip
  6. Write-Host "Un-zip action runner"
  7. Expand-Archive -Path actions-runner.zip -DestinationPath .
  8. Write-Host "Delete zip file"
  9. Remove-Item actions-runner.zip