-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into feature/cupertino-text-switch
- Loading branch information
Showing
6 changed files
with
78 additions
and
61 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,37 +3,49 @@ | |
|
||
name: .NET | ||
|
||
on: | ||
push: | ||
tags: | ||
- 'v**' | ||
on: | ||
push: | ||
tags: | ||
- "v**" | ||
|
||
env: | ||
DOTNET_SKIP_FIRST_TIME_EXPERIENCE: 1 | ||
DOTNET_NOLOGO: true | ||
NuGetDirectory: ${{ github.workspace}}/nuget | ||
|
||
jobs: | ||
build: | ||
|
||
runs-on: macos-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: actions/setup-dotnet@v3 | ||
with: | ||
dotnet-version: '7.x' | ||
source-url: https://nuget.pkg.github.com/theeightbot/index.json | ||
env: | ||
NUGET_AUTH_TOKEN: ${{secrets.GITHUB_TOKEN}} | ||
|
||
- name: Install MAUI Workloads | ||
run: dotnet workload install maui --ignore-failed-sources | ||
|
||
- name: Semver Parse | ||
id: version | ||
uses: release-kit/[email protected] | ||
|
||
- name: Build Aurora Controls MAUI | ||
run: dotnet build AuroraControlsMaui/AuroraControls.csproj | ||
|
||
- name: Create the package | ||
run: dotnet pack --configuration Release /p:AssemblyVersion=${{ steps.version.outputs.major }}.${{ steps.version.outputs.minor }}.${{ steps.version.outputs.patch }} /p:Version=${{ steps.version.outputs.major }}.${{ steps.version.outputs.minor }}.${{ steps.version.outputs.patch }} AuroraControlsMaui/AuroraControls.csproj | ||
|
||
- name: Publish the package to GPR | ||
run: dotnet nuget push AuroraControlsMaui/bin/Release/*.nupkg | ||
build: | ||
runs-on: macos-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: actions/setup-dotnet@v3 | ||
with: | ||
dotnet-version: "7.x" | ||
source-url: https://nuget.pkg.github.com/theeightbot/index.json | ||
env: | ||
NUGET_AUTH_TOKEN: ${{secrets.GITHUB_TOKEN}} | ||
|
||
- name: Install MAUI Workloads | ||
run: dotnet workload install maui --ignore-failed-sources | ||
|
||
- name: Semver Parse | ||
id: version | ||
uses: release-kit/[email protected] | ||
|
||
- name: Build Aurora Controls MAUI | ||
run: dotnet build AuroraControlsMaui/AuroraControls.Maui.csproj | ||
|
||
- name: Create the package | ||
run: dotnet pack --configuration Release --output ${{ env.NuGetDirectory }} /p:AssemblyVersion=${{ steps.version.outputs.major }}.${{ steps.version.outputs.minor }}.${{ steps.version.outputs.patch }} /p:Version=${{ steps.version.outputs.major }}.${{ steps.version.outputs.minor }}.${{ steps.version.outputs.patch }} AuroraControlsMaui/AuroraControls.Maui.csproj | ||
|
||
# Publish the NuGet package as an artifact, so they can be used in the following jobs | ||
- uses: actions/upload-artifact@v3 | ||
with: | ||
name: nuget | ||
if-no-files-found: error | ||
retention-days: 7 | ||
path: ${{ env.NuGetDirectory }}/*.nupkg | ||
|
||
- name: Publish the package to GPR | ||
run: dotnet nuget push ${{ env.NuGetDirectory }}/*.nupkg |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
49 changes: 25 additions & 24 deletions
49
AuroraControlsMaui/AuroraControls.csproj → ...raControlsMaui/AuroraControls.Maui.csproj
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,25 +1,26 @@ | ||
<Project Sdk="Microsoft.NET.Sdk"> | ||
<PropertyGroup> | ||
<TargetFrameworks>net7.0-android;net7.0-ios;net7.0-maccatalyst</TargetFrameworks> | ||
<UseMaui>true</UseMaui> | ||
<SingleProject>true</SingleProject> | ||
<ImplicitUsings>enable</ImplicitUsings> | ||
<SupportedOSPlatformVersion Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'ios'">14.2</SupportedOSPlatformVersion> | ||
<SupportedOSPlatformVersion Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'android'">21.0</SupportedOSPlatformVersion> | ||
<SupportedOSPlatformVersion Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'maccatalyst'">13.1</SupportedOSPlatformVersion> | ||
<AssemblyName>AuroraControls</AssemblyName> | ||
</PropertyGroup> | ||
<PropertyGroup Condition="'$(Configuration)|$(TargetFramework)|$(Platform)'=='Debug|net7.0-ios|AnyCPU'"> | ||
<CreatePackage>false</CreatePackage> | ||
</PropertyGroup> | ||
<ItemGroup> | ||
<PackageReference Include="SkiaSharp.Views.Maui.Controls" | ||
Version="2.88.6" /> | ||
<PackageReference Include="Svg.Skia" | ||
Version="1.0.0.2" /> | ||
<PackageReference Include="Topten.RichTextKit" | ||
Version="0.4.166" /> | ||
<PackageReference Include="SkiaSharp.HarfBuzz" | ||
Version="2.88.6" /> | ||
</ItemGroup> | ||
<Project Sdk="Microsoft.NET.Sdk"> | ||
<PropertyGroup> | ||
<TargetFrameworks>net7.0-android;net7.0-ios;net7.0-maccatalyst</TargetFrameworks> | ||
<UseMaui>true</UseMaui> | ||
<SingleProject>true</SingleProject> | ||
<ImplicitUsings>enable</ImplicitUsings> | ||
<SupportedOSPlatformVersion Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'ios'">14.2</SupportedOSPlatformVersion> | ||
<SupportedOSPlatformVersion Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'android'">21.0</SupportedOSPlatformVersion> | ||
<SupportedOSPlatformVersion Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'maccatalyst'">13.1</SupportedOSPlatformVersion> | ||
<AssemblyName>AuroraControls</AssemblyName> | ||
<PackageId>AuroraControls.Maui</PackageId> | ||
</PropertyGroup> | ||
<PropertyGroup Condition="'$(Configuration)|$(TargetFramework)|$(Platform)'=='Debug|net7.0-ios|AnyCPU'"> | ||
<CreatePackage>false</CreatePackage> | ||
</PropertyGroup> | ||
<ItemGroup> | ||
<PackageReference Include="SkiaSharp.Views.Maui.Controls" | ||
Version="2.88.6" /> | ||
<PackageReference Include="Svg.Skia" | ||
Version="1.0.0.2" /> | ||
<PackageReference Include="Topten.RichTextKit" | ||
Version="0.4.166" /> | ||
<PackageReference Include="SkiaSharp.HarfBuzz" | ||
Version="2.88.6" /> | ||
</ItemGroup> | ||
</Project> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
# AuroraControlsMaui | ||
# Aurora Controls for .NET MAUI |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.