File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed
Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -122,7 +122,7 @@ jobs:
122122
123123 - name : Build
124124 run : |
125- dotnet publish CollapseLauncher -c ${{matrix.Configuration}} -p:PublishProfile=Publish-DebugCIReleaseAOT -p:PublishDir=".\debug-aot-build\"
125+ dotnet publish CollapseLauncher -c ${{matrix.Configuration}} -p:PublishProfile=Publish-DebugCIReleaseAOT -p:PublishDir=".\debug-aot-build\" -p:PublishAotSelf=true
126126
127127 - name : Upload debug symbols
128128 uses : actions/upload-artifact@v4
Original file line number Diff line number Diff line change 4444 run : |
4545 $branch = $env:GITHUB_REF_NAME
4646
47+ echo "ADDITIONAL_COMPPARAM=-p:PublishAotSelf=true" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append
4748 if ($branch -eq "preview") {
4849 echo "CONFIGURATION_STRATEGY=Release" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append
4950 echo "PUBLISH_PROFILE=${{ env.BUILD_PROFILE_PREVIEW }}" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append
9192 - name : Build
9293 run : |
9394 dotnet workload update
94- dotnet publish CollapseLauncher -c ${{ env.CONFIGURATION_STRATEGY }} -p:PublishProfile=${{ env.PUBLISH_PROFILE }} -p:PublishDir=".\build\"
95+ dotnet publish CollapseLauncher -c ${{ env.CONFIGURATION_STRATEGY }} -p:PublishProfile=${{ env.PUBLISH_PROFILE }} -p:PublishDir=".\build\" ${{ env.ADDITIONAL_COMPPARAM }}
9596
9697 - name : Prepare publish artifacts
9798 run : |
You can’t perform that action at this time.
0 commit comments