From cbfa96e009cf92ab6d32a84012eb98e3292f04f4 Mon Sep 17 00:00:00 2001 From: stop-cran Date: Mon, 30 Jan 2023 01:50:22 +0300 Subject: [PATCH] Actions fix --- .github/workflows/dotnetcore.yml | 6 +----- src/ZabbixSender.Async.csproj | 2 +- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/.github/workflows/dotnetcore.yml b/.github/workflows/dotnetcore.yml index d3d4e79..07ca489 100644 --- a/.github/workflows/dotnetcore.yml +++ b/.github/workflows/dotnetcore.yml @@ -32,11 +32,7 @@ jobs: github-token: ${{ secrets.GITHUB_TOKEN }} path-to-lcov: ./tests/coverage.info - name: Publish Nuget - uses: brandedoutcast/publish-nuget@v2.5.5 - with: - PROJECT_FILE_PATH: src/ZabbixSender.Async.csproj - TAG_COMMIT: true - NUGET_KEY: ${{secrets.NUGETAPIKEY}} + run: dotnet build -c Release && dotnet pack -c Release -o out && dotnet nuget push ./out/*.nupkg -s https://api.nuget.org/v3/index.json -k ${{ secrets.NUGETAPIKEY }} --skip-duplicate - 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 41f117b..f0e0b97 100644 --- a/src/ZabbixSender.Async.csproj +++ b/src/ZabbixSender.Async.csproj @@ -26,7 +26,7 @@ - +