Skip to content

Commit 1898e56

Browse files
committed
fix x-plat AOT invocation
1 parent 4993a4f commit 1898e56

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

build-system/azure.aot.template.yaml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,12 @@ jobs:
2020

2121
- task: PowerShell@2
2222
inputs:
23-
filepath: tools\test-aot-compatibility.ps1
23+
filePath: ${{ format('{0}/tools/test-aot-compatibility.ps1', variables['Build.SourcesDirectory']) }}
2424
arguments: net8.0
25+
pwsh: true # This ensures PowerShell Core is used on all platforms
26+
env:
27+
BUILD_SOURCESDIRECTORY: $(Build.SourcesDirectory)
28+
2529
- script: 'echo 1>&2'
2630
failOnStderr: true
2731
displayName: 'If above is partially succeeded, then fail'

0 commit comments

Comments
 (0)