mirror of
https://github.com/actions/runner-images.git
synced 2026-01-06 10:09:20 +08:00
Update variables names
This commit is contained in:
@@ -8,10 +8,10 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- powershell: |
|
- powershell: |
|
||||||
Remove-Item -path './*' -Recurse -Force
|
Remove-Item -path './*' -Recurse -Force
|
||||||
Write-Host "Download $(BRANCH_NAME) branch from $(IMAGE_GEN_REPO_URI)"
|
Write-Host "Download $(CUSTOM_REPOSITORY_BRANCH) branch from $(CUSTOM_REPOSITORY_URL)"
|
||||||
git clone $(IMAGE_GEN_REPO_URI) . -b $(BRANCH_NAME) --single-branch --depth 1
|
git clone $(CUSTOM_REPOSITORY_URL) . -b $(CUSTOM_REPOSITORY_BRANCH) --single-branch --depth 1
|
||||||
displayName: 'Download custom repository'
|
displayName: 'Download custom repository'
|
||||||
condition: and(ne(variables['BRANCH_NAME'], ''), ne(variables['IMAGE_GEN_REPO_URI'], ''))
|
condition: and(ne(variables['CUSTOM_REPOSITORY_BRANCH'], ''), ne(variables['CUSTOM_REPOSITORY_URL'], ''))
|
||||||
|
|
||||||
- task: PowerShell@2
|
- task: PowerShell@2
|
||||||
displayName: 'Build VM'
|
displayName: 'Build VM'
|
||||||
|
|||||||
Reference in New Issue
Block a user