Skip to content

Commit

Permalink
ci: fix iOS managed build (#251)
Browse files Browse the repository at this point in the history
  • Loading branch information
thenextman authored Jan 18, 2024
1 parent 5b6e026 commit 03adc45
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 7 deletions.
7 changes: 1 addition & 6 deletions .github/workflows/nuget.yml
Original file line number Diff line number Diff line change
Expand Up @@ -297,11 +297,6 @@ jobs:
- name: Add msbuild to PATH
uses: microsoft/[email protected]

- name: Install .NET 7
uses: actions/setup-dotnet@v3
with:
dotnet-version: 7

- name: Install ios workload
run: dotnet workload install ios

Expand Down Expand Up @@ -329,7 +324,7 @@ jobs:
run: |
# netstandard2.0 / Xamarin.iOS10 targets packaged as Devolutions.Picky
msbuild .\ffi\dotnet\Devolutions.Picky.sln -t:restore,build -p:RestorePackagesConfig=true /p:Configuration=Release
# net7.0-ios target packaged as Devolutions.Picky.iOS
# net8.0-ios target packaged as Devolutions.Picky.iOS
dotnet build .\ffi\dotnet\Devolutions.Picky\Devolutions.Picky.csproj -c Release /p:PackageId=Devolutions.Picky.iOS
- name: Upload managed components
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project>

<PropertyGroup Condition="$(PackageId.EndsWith('iOS'))">
<TargetFrameworks>net6.0-ios</TargetFrameworks>
<TargetFrameworks>net8.0-ios</TargetFrameworks>
<SupportedOSPlatformVersion>12.1</SupportedOSPlatformVersion>
</PropertyGroup>

Expand Down

0 comments on commit 03adc45

Please sign in to comment.