Skip to content

Commit 4f04cfe

Browse files
authored
Publishing a .net 6.0 specific version of the package (this should also disable recycling collectors by default) (#73)
Co-authored-by: James Luck <[email protected]>
1 parent 463391b commit 4f04cfe

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/workflows/publish-nuget-packages.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
- uses: actions/checkout@v1
1212
- uses: actions/setup-dotnet@v1
1313
with:
14-
dotnet-version: '5.0.100'
14+
dotnet-version: '6.0.x'
1515
- run: |
1616
echo "Github ref is ${GITHUB_REF}"
1717
arrTag=(${GITHUB_REF//\// })

src/prometheus-net.DotNetRuntime/prometheus-net.DotNetRuntime.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
</Description>
1414
<PackageLicense>https://github.com/djluck/prometheus-net.DotNetRuntime/blob/master/LICENSE.txt</PackageLicense>
1515
<Platforms>AnyCPU</Platforms>
16-
<TargetFrameworks>net5.0;netcoreapp3.1;netstandard2.1</TargetFrameworks>
16+
<TargetFrameworks>net5.0;net6.0;netcoreapp3.1;netstandard2.1</TargetFrameworks>
1717
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
1818
<NoWarn>1701;1702;CS1591;</NoWarn>
1919
<Nullable>disable</Nullable>

0 commit comments

Comments
 (0)