From b083a4e55d4c1d8d66c610b266d8d8ffd2411fe4 Mon Sep 17 00:00:00 2001 From: Damian Suess Date: Sat, 14 Dec 2024 11:48:28 -0500 Subject: [PATCH] GitHub build workflow CI and releases for Prism.Avalonia. Readme includes Avalonia as an compatible framework --- .github/workflows/ci.yml | 22 +++++++++++++++++++++- README.md | 4 ++-- 2 files changed, 23 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 3e69f3d75..da289c0a4 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -52,6 +52,20 @@ jobs: codeSignClientSecret: ${{ secrets.CodeSignClientSecret }} codeSignCertificate: ${{ secrets.CodeSignCertificate }} + build-prism-avalonia: + uses: avantipoint/workflow-templates/.github/workflows/dotnet-build.yml@v1 + with: + name: Build Prism.Avalonia + solution-path: PrismLibrary_Avalonia.slnf + code-sign: true + artifact-name: Avalonia + secrets: + codeSignKeyVault: ${{ secrets.CodeSignKeyVault }} + codeSignClientId: ${{ secrets.CodeSignClientId }} + codeSignTenantId: ${{ secrets.CodeSignTenantId }} + codeSignClientSecret: ${{ secrets.CodeSignClientSecret }} + codeSignCertificate: ${{ secrets.CodeSignCertificate }} + build-prism-uno: uses: avantipoint/workflow-templates/.github/workflows/msbuild-build.yml@v1 with: @@ -89,7 +103,7 @@ jobs: codeSignCertificate: ${{ secrets.CodeSignCertificate }} generate-consolidated-artifacts: - needs: [build-prism-core, build-prism-wpf, build-prism-uno, build-prism-maui] + needs: [build-prism-core, build-prism-wpf, build-prism-avalonia, build-prism-uno, build-prism-maui] runs-on: windows-latest steps: - name: Checkout @@ -107,6 +121,12 @@ jobs: name: Wpf path: artifacts\Wpf + - name: Download Avalonia + uses: actions/download-artifact@v3 + with: + name: Avalonia + path: artifacts\Avalonia + - name: Download Uno uses: actions/download-artifact@v3 with: diff --git a/README.md b/README.md index eb0cd0f41..de04d0354 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # Prism -Prism is a framework for building loosely coupled, maintainable, and testable XAML applications in WPF, Xamarin Forms, Uno Platform and WinUI. Separate releases are available for each platform and those will be developed on independent timelines. Prism provides an implementation of a collection of design patterns that are helpful in writing well-structured and maintainable XAML applications, including MVVM, dependency injection, commands, EventAggregator, and others. Prism's core functionality is a shared code base supported in .NET Standard 2.0, .NET Framework 4.6 / 4.7, and .NET6.0/.NET8.0. Those things that need to be platform specific are implemented in the respective libraries for the target platform. Prism also provides great integration of these patterns with the target platform. +Prism is a framework for building loosely coupled, maintainable, and testable XAML applications in WPF, Avalonia, MAUI, Uno Platform and WinUI. Separate releases are available for each platform and those will be developed on independent timelines. Prism provides an implementation of a collection of design patterns that are helpful in writing well-structured and maintainable XAML applications, including MVVM, dependency injection, commands, EventAggregator, and others. Prism's core functionality is a shared code base supported in .NET Standard 2.0, .NET Framework 4.6 / 4.7, and .NET6.0/.NET8.0. Those things that need to be platform specific are implemented in the respective libraries for the target platform. Prism also provides great integration of these patterns with the target platform. ## Licensing @@ -13,9 +13,9 @@ The Prism Team would first and foremost like to thank all of those developers wh | Full Build | [![Prism CI](/~https://github.com/PrismLibrary/Prism/actions/workflows/ci.yml/badge.svg)](/~https://github.com/PrismLibrary/Prism/actions/workflows/ci.yml) | | Prism.Core | [![build_core](/~https://github.com/PrismLibrary/Prism/actions/workflows/build_core.yml/badge.svg)](/~https://github.com/PrismLibrary/Prism/actions/workflows/build_core.yml) | | Prism.Wpf | [![build_wpf](/~https://github.com/PrismLibrary/Prism/actions/workflows/build_wpf.yml/badge.svg)](/~https://github.com/PrismLibrary/Prism/actions/workflows/build_wpf.yml) | +| Prism.Avalonia | [![build_avalonia](/~https://github.com/PrismLibrary/Prism/actions/workflows/build_avalonia.yml/badge.svg)](/~https://github.com/PrismLibrary/Prism/actions/workflows/build_avalonia.yml) | | Prism.Uno | [![build_uno](/~https://github.com/PrismLibrary/Prism/actions/workflows/build_uno.yml/badge.svg)](/~https://github.com/PrismLibrary/Prism/actions/workflows/build_uno.yml) | | Prism.Maui | [![build_maui](/~https://github.com/PrismLibrary/Prism/actions/workflows/build_maui.yml/badge.svg)](/~https://github.com/PrismLibrary/Prism/actions/workflows/build_maui.yml) | -| Prism.Avalonia | [![build_avalonia](/~https://github.com/PrismLibrary/Prism/actions/workflows/build_avalonia.yml/badge.svg)](/~https://github.com/PrismLibrary/Prism/actions/workflows/build_avalonia.yml) | ## Support