mirror of
https://github.com/actions/runner-images.git
synced 2025-12-14 22:05:17 +00:00
fixed inline script
This commit is contained in:
@@ -60,7 +60,8 @@ jobs:
|
||||
inputs:
|
||||
targetType: 'inline'
|
||||
script: |
|
||||
Get-Content ((Get-ChildItem -Path "images" -Include ${{ parameters.image_readme_name }} -Recurse -Depth 1).FullName)
|
||||
$docsPath = (Get-ChildItem -Path "images" -Include ${{ parameters.image_readme_name }} -Recurse -Depth 1 | Select-Object -First 1
|
||||
Get-Content -Path $docsPath
|
||||
|
||||
- task: PowerShell@2
|
||||
displayName: 'Clean up resources'
|
||||
|
||||
Reference in New Issue
Block a user