1
0

Migrated CI from gitlab to gitea
All checks were successful
Branch Build / build-test-deploy (push) Successful in 1m46s

This commit is contained in:
2026-01-12 20:26:51 +01:00
parent 6f92908a81
commit 5d606bea89
12 changed files with 167 additions and 197 deletions

View File

@@ -11,6 +11,11 @@
<Product>AM.WD Common Library for ASP.NET Core</Product>
</PropertyGroup>
<!-- Only build package for tagged releases -->
<PropertyGroup Condition="$([System.Text.RegularExpressions.Regex]::IsMatch('$(CI_COMMIT_TAG)', '^asp\/v[0-9.]+'))">
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
</PropertyGroup>
<ItemGroup>
<FrameworkReference Include="Microsoft.AspNetCore.App" />
<PackageReference Include="Newtonsoft.Json" Version="13.0.4" />

View File

@@ -11,6 +11,11 @@
<Product>AM.WD Common Library for EntityFramework Core</Product>
</PropertyGroup>
<!-- Only build package for tagged releases -->
<PropertyGroup Condition="$([System.Text.RegularExpressions.Regex]::IsMatch('$(CI_COMMIT_TAG)', '^efc\/v[0-9.]+'))">
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
</PropertyGroup>
<ItemGroup Condition="'$(TargetFramework)' == 'net8.0'">
<PackageReference Include="Microsoft.EntityFrameworkCore" Version="8.0.0" />
<PackageReference Include="Microsoft.EntityFrameworkCore.Relational" Version="8.0.0" />

View File

@@ -11,6 +11,11 @@
<Product>AM.WD Common Library for MessagePack</Product>
</PropertyGroup>
<!-- Only build package for tagged releases -->
<PropertyGroup Condition="$([System.Text.RegularExpressions.Regex]::IsMatch('$(CI_COMMIT_TAG)', '^msgpack\/v[0-9.]+'))">
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="MessagePack" Version="2.5.198" />
</ItemGroup>

View File

@@ -11,6 +11,11 @@
<Product>AM.WD Common Library for Unit-Testing</Product>
</PropertyGroup>
<!-- Only build package for tagged releases -->
<PropertyGroup Condition="$([System.Text.RegularExpressions.Regex]::IsMatch('$(CI_COMMIT_TAG)', '^test\/v[0-9.]+'))">
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Moq" Version="4.20.72" />
<PackageReference Include="MSTest.TestFramework" Version="3.4.3" />

View File

@@ -10,6 +10,11 @@
<Product>AM.WD Common Library</Product>
</PropertyGroup>
<!-- Only build package for tagged releases -->
<PropertyGroup Condition="$([System.Text.RegularExpressions.Regex]::IsMatch('$(CI_COMMIT_TAG)', '^v[0-9.]+'))">
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Newtonsoft.Json" Version="13.0.4" />
<PackageReference Include="Unclassified.DeepConvert" Version="1.4.1" />

View File

@@ -1,15 +1,14 @@
<Project>
<PropertyGroup>
<NrtRevisionFormat>{semvertag:main}{!:-dev}</NrtRevisionFormat>
<NrtContinuousIntegrationBuild>$(ContinuousIntegrationBuild)</NrtContinuousIntegrationBuild>
<GenerateDocumentationFile>true</GenerateDocumentationFile>
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
<IncludeSymbols>true</IncludeSymbols>
<SymbolPackageFormat>snupkg</SymbolPackageFormat>
<EmbedUntrackedSources>false</EmbedUntrackedSources>
<RepositoryType>git</RepositoryType>
<RepositoryUrl>https://git.am-wd.de/am-wd/common.git</RepositoryUrl>
<RepositoryUrl>https://gitea.am-wd.de/am-wd/common.git</RepositoryUrl>
<PublishRepositoryUrl>true</PublishRepositoryUrl>
<PackageIcon>icon.png</PackageIcon>
@@ -28,17 +27,23 @@
<None Include="../../README.md" Pack="true" PackagePath="/" />
</ItemGroup>
<!-- Only build package for Debug -->
<PropertyGroup Condition="'$(Configuration)' == 'Debug'">
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
</PropertyGroup>
<PropertyGroup Condition="'$(CI)' == 'true'">
<ContinuousIntegrationBuild>true</ContinuousIntegrationBuild>
<EmbedUntrackedSources>true</EmbedUntrackedSources>
</PropertyGroup>
<ItemGroup Condition="'$(CI)' == 'true'">
<SourceLinkGitLabHost Include="$(CI_SERVER_HOST)" Version="$(CI_SERVER_VERSION)" />
<PackageReference Include="Microsoft.SourceLink.GitLab" Version="8.0.0" PrivateAssets="all" />
<SourceLinkGiteaHost Include="$(CI_SERVER_HOST)" />
<PackageReference Include="Microsoft.SourceLink.Gitea" Version="8.0.0" PrivateAssets="all" />
</ItemGroup>
<ItemGroup>
<PackageReference Include="AMWD.NetRevisionTask" Version="1.3.0">
<PackageReference Include="AMWD.NetRevisionTask" Version="1.4.0">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>