Skip to content

Commit 4375cd3

Browse files
committed
Tidy up build
1 parent 638ed8b commit 4375cd3

7 files changed

Lines changed: 10 additions & 13 deletions

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ env:
1515
jobs:
1616
build:
1717

18-
runs-on: ubuntu-latest
18+
runs-on: windows-latest
1919

2020
permissions:
2121
contents: write

Build.ps1

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -34,11 +34,9 @@ try {
3434
Write-Output "build: Packaging project in $src"
3535

3636
if ($suffix) {
37-
& dotnet publish -c Release -o ./obj/publish --version-suffix=$buildSuffix /p:ContinuousIntegrationBuild=true
38-
& dotnet pack -c Release -o ../../artifacts --no-build --version-suffix=$suffix
37+
& dotnet pack -c Release -o ../../artifacts --version-suffix=$suffix
3938
} else {
40-
& dotnet publish -c Release -o ./obj/publish /p:ContinuousIntegrationBuild=true
41-
& dotnet pack -c Release -o ../../artifacts --no-build
39+
& dotnet pack -c Release -o ../../artifacts
4240
}
4341
if($LASTEXITCODE -ne 0) { throw "Packaging failed" }
4442

@@ -48,12 +46,12 @@ try {
4846
if(Test-Path .\test) {
4947
foreach ($test in Get-ChildItem test/*.Tests) {
5048
Push-Location $test
51-
49+
5250
Write-Output "build: Testing project in $test"
53-
54-
& dotnet test -c Release --no-build --no-restore
51+
52+
& dotnet test -c Release
5553
if($LASTEXITCODE -ne 0) { throw "Testing failed" }
56-
54+
5755
Pop-Location
5856
}
5957
}

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Seq.Client.Log4Net [![Build status](https://ci.appveyor.com/api/projects/status/sxw4n1a6v9o7db2i?svg=true)](https://ci.appveyor.com/project/datalust/seq-client-log4net)
1+
# Seq.Client.Log4Net
22

33
An Apache log4net appender that writes events to Seq.
44

@@ -10,7 +10,7 @@ An Apache log4net appender that writes events to Seq.
1010
1111
### Getting started
1212

13-
The Seq appender for log4net supports both .NET Framework 4.0+, and .NET Core via .NET Standard 2.0.
13+
The Seq appender for log4net supports .NET Framework 4.6.2+, and modern .NET via .NET Standard 2.0. For earlier .NET versions, use the 3.x series of _Seq.Client.Log4Net_ releases.
1414

1515
To install _Seq.Client.Log4Net_ from NuGet, at the Visual Studio Package Manager console, type:
1616

14.3 KB
Binary file not shown.
-24.6 KB
Binary file not shown.
-35.5 KB
Binary file not shown.

src/Seq.Client.Log4Net/Seq.Client.Log4Net.csproj

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,12 @@
55
<Description>Apache log4net appender for .NET Framework and .NET Standard/Core that writes to the Seq log server over HTTP.</Description>
66
<PackageIconUrl>https://datalust.co/images/nuget/seq-client-log4net.png</PackageIconUrl>
77
<PackageTags>seq log4net structured logging events</PackageTags>
8+
<PackageLicenseExpression>Apache-2.0</PackageLicenseExpression>
89
<RootNamespace>Seq</RootNamespace>
910
<SignAssembly>true</SignAssembly>
1011
<PublicSign Condition=" '$(OS)' != 'Windows_NT' ">true</PublicSign>
1112
<PackageTags>seq;log4net</PackageTags>
1213
<PackageProjectUrl>https://github.com/datalust/seq-client-log4net</PackageProjectUrl>
13-
<PackageLicenseFile>LICENSE</PackageLicenseFile>
1414
<RepositoryUrl>https://github.com/datalust/seq-client-log4net.git</RepositoryUrl>
1515
<RepositoryType>git</RepositoryType>
1616
<GenerateAssemblyVersionAttribute>false</GenerateAssemblyVersionAttribute>
@@ -24,6 +24,5 @@
2424

2525
<ItemGroup>
2626
<None Include="..\..\asset\Seq.Client-Public.snk" Link="Seq.Client-Public.snk" />
27-
<None Include="..\..\LICENSE" />
2827
</ItemGroup>
2928
</Project>

0 commit comments

Comments
 (0)