Skip to content

Commit 26da8be

Browse files
committed
Fixed AOT publish
1 parent ddd7c27 commit 26da8be

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

azure-pipelines.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ variables:
33
TestFolder: src/DotNext.Tests
44
TestProject: $(TestFolder)/DotNext.Tests.csproj
55
AotTestFolder: src/DotNext.AotTests
6+
AotTestProject: $(AotTestFolder)/DotNext.AotTests.csproj
67
InternetAccess: false
78
DOTNET_SKIP_FIRST_TIME_EXPERIENCE: true
89
isMain: $[eq(variables['Build.SourceBranch'], 'refs/heads/master')]
@@ -27,12 +28,13 @@ stages:
2728
displayName: Publish AOT Tests
2829
inputs:
2930
command: publish
30-
workingDirectory: $(AotTestFolder)
31-
arguments: --configuration Release
31+
publishWebProjects: false
32+
projects: $(AotTestProject)
33+
arguments: --configuration Release --output $(AotTestFolder)\bin\aot-tests
3234
- task: CmdLine@2
3335
displayName: Run AOT Tests
3436
inputs:
35-
workingDirectory: $(AotTestFolder)\bin\Release\net8.0\windows-x64\
37+
workingDirectory: $(AotTestFolder)\bin\aot-tests
3638
script: start /b DotNext.AotTests.exe
3739
- task: DotNetCoreCLI@2
3840
displayName: Test Debug

0 commit comments

Comments
 (0)