Skip to content

Commit

Permalink
Actions fix
Browse files Browse the repository at this point in the history
  • Loading branch information
stop-cran committed Jan 29, 2023
1 parent ca4a752 commit cbfa96e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
6 changes: 1 addition & 5 deletions .github/workflows/dotnetcore.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,11 +32,7 @@ jobs:
github-token: ${{ secrets.GITHUB_TOKEN }}
path-to-lcov: ./tests/coverage.info
- name: Publish Nuget
uses: brandedoutcast/[email protected]
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()
Expand Down
2 changes: 1 addition & 1 deletion src/ZabbixSender.Async.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@


<ItemGroup>
<PackageReference Include="Newtonsoft.Json" Version="13.0.2" />
<PackageReference Include="Newtonsoft.Json" Version="12.0.3" />
</ItemGroup>

<ItemGroup>
Expand Down

1 comment on commit cbfa96e

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Coverage for this commit

88.69%

Coverage Report
FileStmtsBranchesFuncsLinesUncovered Lines
src
   Formatter.cs95.79%81.25%100%98.61%141, 93, 93, 93
   NetworkStreamExtensions.cs26.67%16.67%100%25%14, 14–16, 18, 18, 18, 18, 18–20
   ProtocolException.cs100%100%100%100%
   SendData.cs100%100%100%100%
   Sender.cs87.50%100%50%91.67%32, 37
   SenderResponse.cs100%100%100%100%
   SenderResponseInfo.cs55.17%50%33.33%61.90%24–25, 34–36, 47, 51, 56, 61
   SenderSkeleton.cs85%55.56%75%96.30%36, 64, 64, 64, 64
   TaskExtensions.cs71.43%50%100%75%11–12

Please sign in to comment.