File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed
Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -102,7 +102,8 @@ jobs:
102102 - pwsh : |
103103 Write-Host "Testing @fortify/setup ${{ parameters.VERSION }} bootstrap with ADO approach"
104104 npx @fortify/setup@v2 env init --tools=fcli:bootstrapped
105- npx @fortify/setup@v2 env ado
105+ npx @fortify/setup@v2 env ado --output-as=pwsh | Out-String | Invoke-Expression
106+ & $env:FCLI_CMD --version
106107 displayName: 'Test 2: ADO approach - Initialize'
107108 env:
108109 FCLI_BOOTSTRAP_VERSION: ${{ parameters.FCLI_VERSION }}
@@ -133,7 +134,8 @@ jobs:
133134 FCLI_BOOTSTRAP_VERSION: ${{ parameters.FCLI_VERSION }}
134135
135136 - bash : |
136- npx @fortify/setup@v2 env ado
137+ source <(npx @fortify/setup@v2 env ado --output-as=bash)
138+ "${FCLI_CMD:-fcli}" --version
137139 displayName: 'Test 2: ADO approach - Set env'
138140
139141 - bash : |
You can’t perform that action at this time.
0 commit comments