We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1898e56 commit 4aff06eCopy full SHA for 4aff06e
build-system/azure.aot.template.yaml
@@ -18,14 +18,15 @@ jobs:
18
inputs:
19
version: 8.0.402
20
21
+
22
+ # Option 1: Use inline script to handle paths properly
23
- task: PowerShell@2
24
- filePath: ${{ format('{0}/tools/test-aot-compatibility.ps1', variables['Build.SourcesDirectory']) }}
- arguments: net8.0
25
- pwsh: true # This ensures PowerShell Core is used on all platforms
26
- env:
27
- BUILD_SOURCESDIRECTORY: $(Build.SourcesDirectory)
28
-
+ targetType: 'inline'
+ script: |
+ ./tools/test-aot-compatibility.ps1 net8.0
+ pwsh: true
29
30
- script: 'echo 1>&2'
31
failOnStderr: true
32
displayName: 'If above is partially succeeded, then fail'
0 commit comments