Skip to content

Commit 8678fc0

Browse files
authored
Merge pull request #474 from laedit/fix/nuget-package
Fix nuget package
2 parents e8491a0 + de2e21c commit 8678fc0

File tree

3 files changed

+11
-23
lines changed

3 files changed

+11
-23
lines changed

Diff for: .github/workflows/sonar-analysis.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,6 @@ jobs:
7676
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
7777
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
7878
run: |
79-
./.sonar/scanner/dotnet-sonarscanner begin /k:"laedit_vika" /o:"laedit-github" /d:sonar.login="${{ secrets.SONAR_TOKEN }}" /d:sonar.host.url="https://sonarcloud.io" /d:sonar.cs.opencover.reportsPaths=src/NVika.Tests/coverage.opencover.xml /d:sonar.coverage.exclusions="src/NVika.Tests/*"
79+
./.sonar/scanner/dotnet-sonarscanner begin /k:"laedit_vika" /o:"laedit-github" /d:sonar.token="${{ secrets.SONAR_TOKEN }}" /d:sonar.host.url="https://sonarcloud.io" /d:sonar.cs.opencover.reportsPaths=src/NVika.Tests/coverage.opencover.xml /d:sonar.coverage.exclusions="src/NVika.Tests/*"
8080
dotnet build src --configuration Release /p:Version=${{ steps.gitversion.outputs.nuGetVersionV2 }}
81-
./.sonar/scanner/dotnet-sonarscanner end /d:sonar.login="${{ secrets.SONAR_TOKEN }}"
81+
./.sonar/scanner/dotnet-sonarscanner end /d:sonar.token="${{ secrets.SONAR_TOKEN }}"

Diff for: README.md

+5-13
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,7 @@ Also means 'bug' in Finnish.
55

66
[![Licence Apache 2](https://img.shields.io/badge/licence-Apache%202-blue.svg)](https://github.com/laedit/vika/blob/master/LICENSE)
77
![Build](https://github.com/laedit/vika/workflows/Build/badge.svg)
8-
[![Sonarcloud Status](https://sonarcloud.io/api/project_badges/measure?project=laedit_vika&metric=alert_status)](https://sonarcloud.io/dashboard?id=laedit_vika)
9-
[![SonarCloud Coverage](https://sonarcloud.io/api/project_badges/measure?project=laedit_vika&metric=coverage)](https://sonarcloud.io/component_measures/metric/coverage/list?id=laedit_vika)
10-
[![SonarCloud Bugs](https://sonarcloud.io/api/project_badges/measure?project=laedit_vika&metric=bugs)](https://sonarcloud.io/component_measures/metric/reliability_rating/list?id=laedit_vika)
11-
[![SonarCloud Vulnerabilities](https://sonarcloud.io/api/project_badges/measure?project=laedit_vika&metric=vulnerabilities)](https://sonarcloud.io/component_measures/metric/security_rating/list?id=laedit_vika)
8+
[![Sonarcloud Status](https://sonarcloud.io/api/project_badges/measure?project=laedit_vika&metric=alert_status)](https://sonarcloud.io/project/overview?id=laedit_vika)
129

1310
## What it is
1411
Right now it's just a tiny tool which parse analysis reports and send messages to the build server, or in console if it's not executed on a build server.
@@ -56,9 +53,11 @@ It is possible to process several reports at the same time: `NVika parsereport r
5653

5754
## Build servers
5855
### Supported
59-
- [AppVeyor](http://appveyor.com)
56+
- Local build: output in console
57+
- [AppVeyor](https://appveyor.com)
6058
![AppVeyor example](resources/AppVeyor.png)
61-
59+
- [GitHub actions](https://github.com)
60+
6261
### To come
6362
- [TeamCity](https://github.com/laedit/vika/issues/4)?
6463
- [ContinuaCI](https://github.com/laedit/vika/issues/3)?
@@ -67,13 +66,6 @@ It is possible to process several reports at the same time: `NVika parsereport r
6766
I am really wondering if there is any value to supporting these three, because there doesn't support to add build message like AppVeyor but only log message.
6867
And they support custom HTML report, so an xslt transformation is enough.
6968

70-
## What it will be
71-
A website will be added for displaying a nice and shiny aggregated report from all source to a dedicated page for each GitHub project.
72-
73-
There also will be a solution to upload a temporary report stored for a week.
74-
75-
And the client may push reports through the website public API.
76-
7769
## Contributing
7870
All contributions are welcome, please read our [contributing guide](CONTRIBUTING.md).
7971

Diff for: src/NVika/NVika.csproj

+4-8
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616
<RepositoryType>git</RepositoryType>
1717
<PackageTags>report parsing build server inspectcode FxCop SARIF Roslyn Gendarme</PackageTags>
1818
<PackageReleaseNotes>https://github.com/laedit/vika/releases</PackageReleaseNotes>
19+
<PackageReadmeFile>README.md</PackageReadmeFile>
1920
<AnalysisMode>AllEnabledByDefault</AnalysisMode>
2021
<Deterministic>true</Deterministic>
2122
</PropertyGroup>
@@ -43,14 +44,9 @@
4344
</ItemGroup>
4445

4546
<ItemGroup>
46-
<None Include="..\..\resources\icon.png">
47-
<Pack>True</Pack>
48-
<PackagePath></PackagePath>
49-
</None>
50-
<None Include="..\..\LICENSE">
51-
<Pack>True</Pack>
52-
<PackagePath></PackagePath>
53-
</None>
47+
<None Include="..\..\resources\icon.png" Pack="true" PackagePath="\" />
48+
<None Include="..\..\LICENSE" Pack="true" PackagePath="\" />
49+
<None Include="..\..\README.md" Pack="true" PackagePath="\" />
5450
</ItemGroup>
5551

5652
<ItemGroup>

0 commit comments

Comments
 (0)