Skip to content

Commit

Permalink
Ubuntu only supports maui-android
Browse files Browse the repository at this point in the history
  • Loading branch information
danzuep committed Dec 6, 2023
1 parent d30e8eb commit 848a583
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 deletions.
6 changes: 1 addition & 5 deletions .github/workflows/_publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,15 +58,11 @@ jobs:
echo ".NET Version: ${{ env.DotNetVersion }}";
dotnet --version;
echo "Project Name: ${{ inputs.projectName }}";
dotnet workload list;
dotnet workload install maui-android;
dotnet workload list;
dotnet workload install maui-ios;
dotnet workload list;
dotnet workload install maui;
# dotnet nuget locals all --clear;
# dotnet workload restore;
# dotnet workload install maui-android maui-ios;
# dotnet workload install maui maui-android maui-ios;
# dotnet workload install maui android ios maccatalyst tvos macos wasm-tools ${{ env.PackageLinks }}
env:
PackageLinks: "--from-rollback-file ${{env.RollbackLink}} --source ${{env.SourceLink}} --source ${{env.NuGetLink}}"
Expand Down
3 changes: 2 additions & 1 deletion LocalGuideAI/LocalGuideAI.csproj
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFrameworks>net8.0-android;net8.0-ios;net8.0-maccatalyst</TargetFrameworks>
<TargetFrameworks>net8.0-android</TargetFrameworks>
<TargetFrameworks Condition="$([MSBuild]::IsOSPlatform('macOS'))">$(TargetFrameworks);net8.0-ios;net8.0-macios</TargetFrameworks>
<TargetFrameworks Condition="$([MSBuild]::IsOSPlatform('windows'))">$(TargetFrameworks);net8.0-windows10.0.19041.0</TargetFrameworks>
<!-- Uncomment to also build the tizen app. You will need to install tizen by following this: https://github.com/Samsung/Tizen.NET -->
<!-- <TargetFrameworks>$(TargetFrameworks);net8.0-tizen</TargetFrameworks> -->
Expand Down

0 comments on commit 848a583

Please sign in to comment.