Build on ubuntu-latest

pull/7619/head
Mark McDowall 3 months ago
parent f10b0e51b5
commit d6660456ac
No known key found for this signature in database

@ -27,7 +27,7 @@ env:
jobs:
backend:
runs-on: windows-latest
runs-on: ubuntu-latest
outputs:
framework: ${{ steps.variables.outputs.framework }}
major_version: ${{ steps.variables.outputs.major_version }}

@ -77,9 +77,9 @@ Build()
if [[ -z "$RID" || -z "$FRAMEWORK" ]];
then
dotnet msbuild -restore $slnFile -p:SelfContained=True -p:Configuration=Release -p:Platform=$platform -t:PublishAllRids
dotnet msbuild -restore $slnFile -p:SelfContained=True -p:Configuration=Release -p:Platform=$platform -p:EnableWindowsTargeting=true -t:PublishAllRids
else
dotnet msbuild -restore $slnFile -p:SelfContained=True -p:Configuration=Release -p:Platform=$platform -p:RuntimeIdentifiers=$RID -t:PublishAllRids
dotnet msbuild -restore $slnFile -p:SelfContained=True -p:Configuration=Release -p:Platform=$platform -p:RuntimeIdentifiers=$RID -p:EnableWindowsTargeting=true -t:PublishAllRids
fi
ProgressEnd 'Build'

Loading…
Cancel
Save