mirror of
https://github.com/actions/runner-images.git
synced 2025-12-17 15:20:11 +00:00
move up the readme stage
This commit is contained in:
@@ -41,6 +41,14 @@ jobs:
|
|||||||
-VirtualNetworkSubnet $(BUILD_AGENT_SUBNET_NAME) `
|
-VirtualNetworkSubnet $(BUILD_AGENT_SUBNET_NAME) `
|
||||||
-GitHubFeedToken $(GITHUB_TOKEN)
|
-GitHubFeedToken $(GITHUB_TOKEN)
|
||||||
|
|
||||||
|
- task: PowerShell@2
|
||||||
|
displayName: 'Output Readme file content'
|
||||||
|
inputs:
|
||||||
|
targetType: 'inline'
|
||||||
|
script: |
|
||||||
|
$docsPath = Get-ChildItem -Path "images" -Include ${{ parameters.image_readme_name }} -Recurse -Depth 1 | Select-Object -First 1
|
||||||
|
Get-Content -Path $docsPath
|
||||||
|
|
||||||
- task: PowerShell@2
|
- task: PowerShell@2
|
||||||
displayName: 'Create release for VM deployment'
|
displayName: 'Create release for VM deployment'
|
||||||
inputs:
|
inputs:
|
||||||
@@ -53,14 +61,6 @@ jobs:
|
|||||||
-ImageName ${{ parameters.image_type }} `
|
-ImageName ${{ parameters.image_type }} `
|
||||||
-AccessToken $(RELEASE_TARGET_TOKEN)
|
-AccessToken $(RELEASE_TARGET_TOKEN)
|
||||||
|
|
||||||
- task: PowerShell@2
|
|
||||||
displayName: 'Output Readme file content'
|
|
||||||
inputs:
|
|
||||||
targetType: 'inline'
|
|
||||||
script: |
|
|
||||||
$docsPath = Get-ChildItem -Path "images" -Include ${{ parameters.image_readme_name }} -Recurse -Depth 1 | Select-Object -First 1
|
|
||||||
Get-Content -Path $docsPath
|
|
||||||
|
|
||||||
- task: PowerShell@2
|
- task: PowerShell@2
|
||||||
displayName: 'Clean up resources'
|
displayName: 'Clean up resources'
|
||||||
condition: always()
|
condition: always()
|
||||||
|
|||||||
Reference in New Issue
Block a user