File tree 2 files changed +2
-2
lines changed
2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -61,7 +61,7 @@ pipeline "Build" {
61
61
stage " Build" { run " dotnet build -c Release --tl" }
62
62
stage " UnitTests" { run " dotnet test -c Release --tl" }
63
63
stage " Pack" { run " dotnet pack --no-restore -c Release --tl" }
64
- stage " Publish " { run " dotnet publish --no-restore -r linux-x64 -c Release" }
64
+ stage " PublishAOT " { run " dotnet publish src/Fantomas/Fantomas.fsproj -r linux-x64 -c Release -p:DoPublishAot=yes --tl " }
65
65
stage " Docs" {
66
66
whenNot { platformOSX }
67
67
envVars
Original file line number Diff line number Diff line change 12
12
<IsPackable >true</IsPackable >
13
13
<RootNamespace >Fantomas</RootNamespace >
14
14
<ErrorOnDuplicatePublishOutputFiles >false</ErrorOnDuplicatePublishOutputFiles >
15
- <PublishAot >true</PublishAot >
15
+ <PublishAot Condition = " '$(DoPublishAot)' != '' " >true</PublishAot >
16
16
</PropertyGroup >
17
17
<ItemGroup >
18
18
<ProjectReference Include =" ..\Fantomas.Client\Fantomas.Client.fsproj" />
You can’t perform that action at this time.
0 commit comments