mirror of
https://github.com/actions/runner-images-sangeeth.git
synced 2025-12-20 06:29:50 +00:00
[Windows] Rename and refactor downloading function (#8906)
This commit is contained in:
committed by
GitHub
parent
bfe32a2b12
commit
7dba8776df
@@ -4,10 +4,9 @@
|
||||
################################################################################
|
||||
|
||||
# Download the latest cf cli exe
|
||||
$CloudFoundryCliName = "cf-cli.zip"
|
||||
$CloudFoundryCliUrl = "https://packages.cloudfoundry.org/stable?release=windows64-exe&source=github"
|
||||
|
||||
$CloudFoundryArchPath = Start-DownloadWithRetry -Url $CloudFoundryCliUrl -Name $CloudFoundryCliName
|
||||
$CloudFoundryArchPath = Invoke-DownloadWithRetry $CloudFoundryCliUrl
|
||||
|
||||
# Create directory for cf cli
|
||||
$CloudFoundryCliPath = "C:\cf-cli"
|
||||
|
||||
Reference in New Issue
Block a user