diff --git a/.github/workflows/nuget.yml b/.github/workflows/nuget.yml index 4fe9fb8..0b1de3f 100644 --- a/.github/workflows/nuget.yml +++ b/.github/workflows/nuget.yml @@ -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/semver@v1.0.10 - - - 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 \ No newline at end of file + 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/semver@v1.0.10 + + - 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 diff --git a/AuroraControlsMaui.sln b/AuroraControlsMaui.sln index 1ad0a97..9e28f44 100644 --- a/AuroraControlsMaui.sln +++ b/AuroraControlsMaui.sln @@ -3,7 +3,7 @@ Microsoft Visual Studio Solution File, Format Version 12.00 # Visual Studio Version 16 VisualStudioVersion = 25.0.1703.1 MinimumVisualStudioVersion = 10.0.40219.1 -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AuroraControls", "AuroraControlsMaui\AuroraControls.csproj", "{0D872F55-6D9B-4DF3-89A8-5031456F1E38}" +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AuroraControls.Maui", "AuroraControlsMaui\AuroraControls.Maui.csproj", "{0D872F55-6D9B-4DF3-89A8-5031456F1E38}" EndProject Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AuroraControls.TestApp", "AuroraControls.TestApp\AuroraControls.TestApp.csproj", "{B6A2F40F-63BB-4FCD-AEA7-EFB703F1B35B}" EndProject diff --git a/AuroraControlsMaui/AuroraControls.csproj b/AuroraControlsMaui/AuroraControls.Maui.csproj similarity index 96% rename from AuroraControlsMaui/AuroraControls.csproj rename to AuroraControlsMaui/AuroraControls.Maui.csproj index 946d184..642a734 100644 --- a/AuroraControlsMaui/AuroraControls.csproj +++ b/AuroraControlsMaui/AuroraControls.Maui.csproj @@ -1,25 +1,26 @@ - - - net7.0-android;net7.0-ios;net7.0-maccatalyst - true - true - enable - 14.2 - 21.0 - 13.1 - AuroraControls - - - false - - - - - - - + + + net7.0-android;net7.0-ios;net7.0-maccatalyst + true + true + enable + 14.2 + 21.0 + 13.1 + AuroraControls + AuroraControls.Maui + + + false + + + + + + + \ No newline at end of file diff --git a/Directory.build.props b/Directory.build.props index 385baaa..05f0303 100644 --- a/Directory.build.props +++ b/Directory.build.props @@ -9,10 +9,9 @@ https://github.com/TheEightBot/AuroraControls.Maui git .NET MAUI;Custom Controls;SkiaSharp;Eight-Bot - - Provides custom user controls for the .NET MAUI platform - + Custom user controls for the .NET MAUI platform logo.png + README.md + + + diff --git a/README.md b/README.md index feb7eb6..b0de19e 100644 --- a/README.md +++ b/README.md @@ -1 +1 @@ -# AuroraControlsMaui +# Aurora Controls for .NET MAUI diff --git a/images/logo.png b/images/logo.png old mode 100644 new mode 100755 index 77a05de..933c50e Binary files a/images/logo.png and b/images/logo.png differ