From bcb3b0e5818cb8eb95b430e2f4850c1916c847ae Mon Sep 17 00:00:00 2001 From: rabbitism Date: Fri, 20 Sep 2024 20:42:34 +0800 Subject: [PATCH 1/2] feat: Add Nuget packaging for Prism and ReactiveUI extensions, enable symbol packages. --- .github/workflows/pack.yml | 6 ++++++ src/Ursa.PrismExtension/Ursa.PrismExtension.csproj | 4 +++- src/Ursa.ReactiveUI/Ursa.ReactiveUIExtension.csproj | 2 ++ src/Ursa.Themes.Semi/Ursa.Themes.Semi.csproj | 2 ++ 4 files changed, 13 insertions(+), 1 deletion(-) diff --git a/.github/workflows/pack.yml b/.github/workflows/pack.yml index 05b885b..16c1058 100644 --- a/.github/workflows/pack.yml +++ b/.github/workflows/pack.yml @@ -18,6 +18,12 @@ jobs: - name: Nuget Ursa.Themes.Semi run: dotnet pack ./src/Ursa.Themes.Semi -o ./nugets + + - name: Nuget Prism Extension + run: dotnet pack ./src/Ursa.PrismExtension -o ./nugets + + - name: Nuget ReactiveUI Extension + run: dotnet pack ./src/Ursa.ReactiveUI -o ./nugets - name: Upload a Build Artifact uses: actions/upload-artifact@v4.3.1 diff --git a/src/Ursa.PrismExtension/Ursa.PrismExtension.csproj b/src/Ursa.PrismExtension/Ursa.PrismExtension.csproj index e525d50..3e119fb 100644 --- a/src/Ursa.PrismExtension/Ursa.PrismExtension.csproj +++ b/src/Ursa.PrismExtension/Ursa.PrismExtension.csproj @@ -4,12 +4,14 @@ net8.0 - 1.0.0 + 1.0.1 enable enable latest Irihi.Ursa.PrismExtension irihi.png + true + snupkg diff --git a/src/Ursa.ReactiveUI/Ursa.ReactiveUIExtension.csproj b/src/Ursa.ReactiveUI/Ursa.ReactiveUIExtension.csproj index a530383..529486a 100644 --- a/src/Ursa.ReactiveUI/Ursa.ReactiveUIExtension.csproj +++ b/src/Ursa.ReactiveUI/Ursa.ReactiveUIExtension.csproj @@ -17,6 +17,8 @@ 1.0.1 https://github.com/irihitech/Ursa.Avalonia + true + snupkg diff --git a/src/Ursa.Themes.Semi/Ursa.Themes.Semi.csproj b/src/Ursa.Themes.Semi/Ursa.Themes.Semi.csproj index 565f314..fcc29d2 100644 --- a/src/Ursa.Themes.Semi/Ursa.Themes.Semi.csproj +++ b/src/Ursa.Themes.Semi/Ursa.Themes.Semi.csproj @@ -11,6 +11,8 @@ Irihi.Ursa.Themes.Semi irihi.png true + true + snupkg From 0df52ec2ef4351c5076e0f0c0a8ec10a1ca59855 Mon Sep 17 00:00:00 2001 From: rabbitism Date: Fri, 20 Sep 2024 20:46:11 +0800 Subject: [PATCH 2/2] feat: add icon to package. --- .../Ursa.ReactiveUIExtension.csproj | 52 ++++++++++--------- 1 file changed, 27 insertions(+), 25 deletions(-) diff --git a/src/Ursa.ReactiveUI/Ursa.ReactiveUIExtension.csproj b/src/Ursa.ReactiveUI/Ursa.ReactiveUIExtension.csproj index 529486a..f0d0c9e 100644 --- a/src/Ursa.ReactiveUI/Ursa.ReactiveUIExtension.csproj +++ b/src/Ursa.ReactiveUI/Ursa.ReactiveUIExtension.csproj @@ -1,32 +1,34 @@  - - netstandard2.0;net8 - enable - latest - WCKYWCKF, IRIHI Technology - Irihi.Ursa.ReactiveUIExtension - irihi.png - https://github.com/irihitech/Ursa.Avalonia - MIT - enable - True - This is a Ursa expansion. This package integrates and is compatible with UrsaWindow and UrsaView with Avalonia.ReactiveUI. [Avalonia.ReactiveUI See: https://docs.avaloniaui.net/zh-Hans/docs/concepts/reactiveui/] + + netstandard2.0;net8 + enable + latest + WCKYWCKF, IRIHI Technology + Irihi.Ursa.ReactiveUIExtension + irihi.png + https://github.com/irihitech/Ursa.Avalonia + MIT + enable + True + This is a Ursa expansion. This package integrates and is compatible with UrsaWindow and UrsaView with Avalonia.ReactiveUI. [Avalonia.ReactiveUI See: https://docs.avaloniaui.net/zh-Hans/docs/concepts/reactiveui/] -这个是一个Ursa拓展包。这个包整合并互相兼容了UrsaWindow和UrsaView与Avalonia.ReactiveUI的功能。【Avalonia.ReactiveUI参见:https://docs.avaloniaui.net/docs/concepts/reactiveui/】 - 1.0.1 - - https://github.com/irihitech/Ursa.Avalonia - true - snupkg - + 这个是一个Ursa拓展包。这个包整合并互相兼容了UrsaWindow和UrsaView与Avalonia.ReactiveUI的功能。【Avalonia.ReactiveUI参见:https://docs.avaloniaui.net/docs/concepts/reactiveui/】 + + 1.0.1 + + https://github.com/irihitech/Ursa.Avalonia + true + snupkg + - - - + + + - - - + + + +