Merge pull request #417 from irihitech/package

Add Nuget packaging for Prism and ReactiveUI extensions
This commit is contained in:
Zhang Dian
2024-09-20 23:54:35 +08:00
committed by GitHub
4 changed files with 38 additions and 24 deletions

View File

@@ -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

View File

@@ -4,12 +4,14 @@
<PropertyGroup>
<TargetFramework>net8.0</TargetFramework>
<Version>1.0.0</Version>
<Version>1.0.1</Version>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
<LangVersion>latest</LangVersion>
<PackageId>Irihi.Ursa.PrismExtension</PackageId>
<PackageIcon>irihi.png</PackageIcon>
<IncludeSymbols>true</IncludeSymbols>
<SymbolPackageFormat>snupkg</SymbolPackageFormat>
</PropertyGroup>
<ItemGroup>

View File

@@ -1,30 +1,34 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFrameworks>netstandard2.0;net8</TargetFrameworks>
<ImplicitUsings>enable</ImplicitUsings>
<LangVersion>latest</LangVersion>
<Authors>WCKYWCKF, IRIHI Technology</Authors>
<PackageId>Irihi.Ursa.ReactiveUIExtension</PackageId>
<PackageIcon>irihi.png</PackageIcon>
<PackageProjectUrl>https://github.com/irihitech/Ursa.Avalonia</PackageProjectUrl>
<PackageLicenseExpression>MIT</PackageLicenseExpression>
<Nullable>enable</Nullable>
<GeneratePackageOnBuild>True</GeneratePackageOnBuild>
<Description>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/]
<PropertyGroup>
<TargetFrameworks>netstandard2.0;net8</TargetFrameworks>
<ImplicitUsings>enable</ImplicitUsings>
<LangVersion>latest</LangVersion>
<Authors>WCKYWCKF, IRIHI Technology</Authors>
<PackageId>Irihi.Ursa.ReactiveUIExtension</PackageId>
<PackageIcon>irihi.png</PackageIcon>
<PackageProjectUrl>https://github.com/irihitech/Ursa.Avalonia</PackageProjectUrl>
<PackageLicenseExpression>MIT</PackageLicenseExpression>
<Nullable>enable</Nullable>
<GeneratePackageOnBuild>True</GeneratePackageOnBuild>
<Description>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/】</Description>
<Version>1.0.1</Version>
<Copyright></Copyright>
<RepositoryUrl>https://github.com/irihitech/Ursa.Avalonia</RepositoryUrl>
</PropertyGroup>
这个是一个Ursa拓展包。这个包整合并互相兼容了UrsaWindow和UrsaView与Avalonia.ReactiveUI的功能。【Avalonia.ReactiveUI参见https://docs.avaloniaui.net/docs/concepts/reactiveui/】
</Description>
<Version>1.0.1</Version>
<Copyright></Copyright>
<RepositoryUrl>https://github.com/irihitech/Ursa.Avalonia</RepositoryUrl>
<IncludeSymbols>true</IncludeSymbols>
<SymbolPackageFormat>snupkg</SymbolPackageFormat>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Avalonia.ReactiveUI" Version="11.1.1" />
</ItemGroup>
<ItemGroup>
<PackageReference Include="Avalonia.ReactiveUI" Version="11.1.1"/>
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\Ursa\Ursa.csproj" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\Ursa\Ursa.csproj"/>
<None Include="irihi.png" Pack="true" PackagePath=""/>
</ItemGroup>
</Project>

View File

@@ -11,6 +11,8 @@
<PackageId>Irihi.Ursa.Themes.Semi</PackageId>
<PackageIcon>irihi.png</PackageIcon>
<AvaloniaUseCompiledBindingsByDefault>true</AvaloniaUseCompiledBindingsByDefault>
<IncludeSymbols>true</IncludeSymbols>
<SymbolPackageFormat>snupkg</SymbolPackageFormat>
</PropertyGroup>
<ItemGroup>