Skip to content

Commit 4aff06e

Browse files
committed
fix
1 parent 1898e56 commit 4aff06e

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

build-system/azure.aot.template.yaml

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -18,14 +18,15 @@ jobs:
1818
inputs:
1919
version: 8.0.402
2020

21+
22+
# Option 1: Use inline script to handle paths properly
2123
- task: PowerShell@2
2224
inputs:
23-
filePath: ${{ format('{0}/tools/test-aot-compatibility.ps1', variables['Build.SourcesDirectory']) }}
24-
arguments: net8.0
25-
pwsh: true # This ensures PowerShell Core is used on all platforms
26-
env:
27-
BUILD_SOURCESDIRECTORY: $(Build.SourcesDirectory)
28-
25+
targetType: 'inline'
26+
script: |
27+
./tools/test-aot-compatibility.ps1 net8.0
28+
pwsh: true
29+
2930
- script: 'echo 1>&2'
3031
failOnStderr: true
3132
displayName: 'If above is partially succeeded, then fail'

0 commit comments

Comments
 (0)