Skip to content

Commit

Permalink
chore: synced file(s) with prom-client-net/prom-client-tmpl (#169)
Browse files Browse the repository at this point in the history
* add ContinuousIntegrationBuild to Directory.Build.props

* add ContinuousIntegrationBuild to Directory.Build.props
  • Loading branch information
phnx47-bot authored Dec 18, 2024
1 parent 9a5c6c4 commit c1eaa8b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
8.0.x
- name: Build
run: dotnet build -c Release -p:ContinuousIntegrationBuild=true
run: dotnet build -c Release

- name: Run tests with Coverage
run: dotnet test --no-build -c Release -p:CollectCoverage=true -e:CoverletOutputFormat=opencover
Expand Down
3 changes: 3 additions & 0 deletions Directory.Build.props
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,9 @@
<CodeAnalysisRuleSet>$(SolutionDir).ruleset</CodeAnalysisRuleSet>
<NoWarn>CS1591;NETSDK1138</NoWarn>
</PropertyGroup>
<PropertyGroup Condition="'$(GITHUB_ACTIONS)' == 'true'">
<ContinuousIntegrationBuild>true</ContinuousIntegrationBuild>
</PropertyGroup>
<ItemGroup>
<None Include="$(SolutionDir)icon.png" Visible="false" Pack="true" PackagePath="" />
<None Include="$(SolutionDir)README.md" Visible="false" Pack="true" PackagePath="" />
Expand Down

0 comments on commit c1eaa8b

Please sign in to comment.