diff --git a/.github/workflows/publish-nuget-packages.yaml b/.github/workflows/publish-nuget-packages.yaml
index 9cf5fdd..a62407e 100644
--- a/.github/workflows/publish-nuget-packages.yaml
+++ b/.github/workflows/publish-nuget-packages.yaml
@@ -11,7 +11,7 @@ jobs:
- uses: actions/checkout@v1
- uses: actions/setup-dotnet@v1
with:
- dotnet-version: '5.0.100'
+ dotnet-version: '6.0.x'
- run: |
echo "Github ref is ${GITHUB_REF}"
arrTag=(${GITHUB_REF//\// })
diff --git a/src/prometheus-net.DotNetRuntime/prometheus-net.DotNetRuntime.csproj b/src/prometheus-net.DotNetRuntime/prometheus-net.DotNetRuntime.csproj
index 76fb675..1edb4ea 100644
--- a/src/prometheus-net.DotNetRuntime/prometheus-net.DotNetRuntime.csproj
+++ b/src/prometheus-net.DotNetRuntime/prometheus-net.DotNetRuntime.csproj
@@ -13,7 +13,7 @@
https://github.com/djluck/prometheus-net.DotNetRuntime/blob/master/LICENSE.txt
AnyCPU
- net5.0;netcoreapp3.1;netstandard2.1
+ net5.0;net6.0;netcoreapp3.1;netstandard2.1
true
1701;1702;CS1591;
disable