From 3d44519764ab17be9899665dba0fb8bcf64a8a18 Mon Sep 17 00:00:00 2001 From: stop-cran Date: Mon, 30 Jan 2023 01:07:32 +0300 Subject: [PATCH] Migrate to .Net 6 --- .github/workflows/dotnetcore.yml | 6 +++--- src/ZabbixSender.Async.csproj | 15 +++++++-------- tests/ZabbixSender.Async.Tests.csproj | 2 +- 3 files changed, 11 insertions(+), 12 deletions(-) diff --git a/.github/workflows/dotnetcore.yml b/.github/workflows/dotnetcore.yml index 5d15b74..d3d4e79 100644 --- a/.github/workflows/dotnetcore.yml +++ b/.github/workflows/dotnetcore.yml @@ -16,7 +16,7 @@ jobs: - name: Setup .NET Core uses: actions/setup-dotnet@v1 with: - dotnet-version: 5.0.100 + dotnet-version: 6.0.x - name: Build with dotnet run: dotnet build - name: Test with dotnet @@ -32,11 +32,11 @@ jobs: github-token: ${{ secrets.GITHUB_TOKEN }} path-to-lcov: ./tests/coverage.info - name: Publish Nuget - uses: rohith/publish-nuget@v2 + uses: brandedoutcast/publish-nuget@v2.5.5 with: PROJECT_FILE_PATH: src/ZabbixSender.Async.csproj TAG_COMMIT: true - NUGET_KEY: ${{ secrets.NuGetAPIKey }} + NUGET_KEY: ${{secrets.NUGETAPIKEY}} - name: Print test results uses: EnricoMi/publish-unit-test-result-action@v1 if: always() diff --git a/src/ZabbixSender.Async.csproj b/src/ZabbixSender.Async.csproj index 6e96a5a..f0e0b97 100644 --- a/src/ZabbixSender.Async.csproj +++ b/src/ZabbixSender.Async.csproj @@ -1,19 +1,20 @@  - net5.0 - 1.1.0 + net6.0 + 1.2.0-rc2 true - Apache License 2.0 (stop-cran, 2018-2021) + Apache License 2.0 (stop-cran, 2018-2023) stop-cran <stop-cran@list.ru> stop-cran <stop-cran@list.ru> https://github.com/stop-cran/ZabbixSender.Async - Added .Net 5. + Added .Net 6. A tool to send data to Zabbix in the same way as zabbix_sender tool. It implements Zabbix Sender Protocol 4.0. ZabbixSender.Async.xml latest https://github.com/stop-cran/ZabbixSender.Async license.txt + README.md true true snupkg @@ -29,10 +30,8 @@ - - True - - + + diff --git a/tests/ZabbixSender.Async.Tests.csproj b/tests/ZabbixSender.Async.Tests.csproj index f967443..ba36cd9 100644 --- a/tests/ZabbixSender.Async.Tests.csproj +++ b/tests/ZabbixSender.Async.Tests.csproj @@ -1,7 +1,7 @@ - net5.0 + net6.0 latest