Skip to content

Commit

Permalink
Merge branch 'framinosona/fixing_ghaction' into develop
Browse files Browse the repository at this point in the history
  • Loading branch information
framinosona committed Sep 13, 2024
2 parents 8c63843 + 09f9fc7 commit 01a6bf7
Show file tree
Hide file tree
Showing 4 changed files with 22 additions and 32 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/github-actions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ jobs:

build:

runs-on: 'windows-2022'
runs-on: 'macos-14'
timeout-minutes: 20

steps:
Expand All @@ -61,8 +61,8 @@ jobs:
&& \
"${{env.BUILD_REPOSITORY_FOLDERPATH}}/Laerdal.Scripts/Laerdal.SetupBuildEnvironment.sh" \
"https://nuget.pkg.github.com/Laerdal/index.json" \
"${{ env.SCL_GITHUB_NUGET_FEED_USERNAME }}" \
"${{ env.SCL_GITHUB_ACCESS_TOKEN }}" \
"${{ github.actor }}" \
"${{ github.token }}" \
"${{ env.BUILD_REPOSITORY_FOLDERPATH }}/Artifacts"
# we need to manually install java11 because it is needed by the latest windows vm-images that run on
Expand Down
15 changes: 1 addition & 14 deletions Laerdal.Dfu/Laerdal.Dfu.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

<PropertyGroup>
<!-- todo add support for maccatalyst -->
<TargetFrameworks>net8.0-ios;net8.0-android;netstandard2.1;</TargetFrameworks>
<TargetFrameworks>net8.0-ios;net8.0-android</TargetFrameworks>

<UseMaui>true</UseMaui>
<SingleProject>true</SingleProject>
Expand Down Expand Up @@ -33,19 +33,6 @@
</PropertyGroup>
<!-- ============================ VERSION ============================ -->


<!-- ==================== NETSTANDARD PlACEHOLDER ==================== -->
<ItemGroup Condition=" '$(TargetFramework.StartsWith(netstandard))' == 'true' ">
<Compile Remove="Platforms\**\**">
</Compile>
</ItemGroup>

<ItemGroup Condition=" '$(TargetFramework.StartsWith(netstandard))' != 'true' ">
<Compile Remove="Platforms.NetStandard\**">
</Compile>
</ItemGroup>
<!-- ==================== NETSTANDARD PlACEHOLDER ==================== -->

<Import Project="Laerdal.targets"/>

<!-- =========================== PACKAGES ============================ -->
Expand Down
18 changes: 18 additions & 0 deletions Laerdal.Dfu/Laerdal.targets
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,24 @@
<Message Importance="High" Text="Version: $(Version)" />
</Target>

<!-- ==================== MAUI for .NET8 changes ==================== -->
<ItemGroup>
<!-- Warning MA002 : Starting with .NET 8, setting <UseMaui>true</UseMaui> does not automatically include NuGet package references in your project.
Update your project by including this item: <PackageReference Include="Microsoft.Maui.Controls" Version="8.0.21" />.
You can skip this warning by setting <SkipValidateMauiImplicitPackageReferences>true</SkipValidateMauiImplicitPackageReferences> in your project file. -->
<PackageReference Include="Microsoft.Maui.Controls" Version="$(MauiVersion)"/>
<PackageReference Include="Microsoft.Maui.Controls.Compatibility" Version="$(MauiVersion)"/>
<!-- Warning MA002 : Starting with .NET 8, setting <UseMauiEssentials>true</UseMauiEssentials> does not automatically include NuGet package references in your project.
Update your project by including this item: <PackageReference Include="Microsoft.Maui.Essentials" Version="8.0.21" />.
You can skip this warning by setting <SkipValidateMauiImplicitPackageReferences>true</SkipValidateMauiImplicitPackageReferences> in your project file.
<PackageReference Include="Microsoft.Maui.Essentials" Version="8.0.21" />-->
</ItemGroup>

<PropertyGroup>
<UseMaui>true</UseMaui>
<SkipValidateMauiImplicitPackageReferences>true</SkipValidateMauiImplicitPackageReferences>
</PropertyGroup>

<!-- ==================== VERSION ==================== -->
<PropertyGroup>
<Laerdal_Version_Full Condition=" '$(Laerdal_Version_Full)' == '' ">1.0.0</Laerdal_Version_Full>
Expand Down
15 changes: 0 additions & 15 deletions Laerdal.Dfu/Platforms.NetStandard/DfuInstallation.cs

This file was deleted.

0 comments on commit 01a6bf7

Please sign in to comment.