Skip to content

Commit

Permalink
Update target frameworks
Browse files Browse the repository at this point in the history
  • Loading branch information
jerry08 committed Nov 16, 2024
1 parent 073c1ea commit a88bd51
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ jobs:
uses: android-actions/setup-android@v3

- name: Restore Dependencies
run: dotnet restore Yosu/
run: dotnet restore Yosu/ -f net9.0-android

- name: Publish MAUI Android
run: >
Expand Down
3 changes: 2 additions & 1 deletion Yosu/Yosu.csproj
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFrameworks>$(NetVersion)-android;$(NetVersion)-ios</TargetFrameworks>
<TargetFrameworks>$(NetVersion)-android</TargetFrameworks>
<TargetFrameworks Condition="$([System.OperatingSystem]::IsLinux()) != true">$(NetVersion)-ios</TargetFrameworks>
<OutputType>Exe</OutputType>
<RootNamespace>Yosu</RootNamespace>
<UseMaui>true</UseMaui>
Expand Down

0 comments on commit a88bd51

Please sign in to comment.