Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
followynne committed Apr 2, 2024
1 parent 8405b43 commit 7bc8f55
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions build/Build.CI.GithubActions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ ReleaseParams[] ReleaseInfos() =>

Target Backend_SonarScan_Start => targetDefinition => targetDefinition
.DependsOn(Backend_Restore)
.OnlyWhenStatic(() => OnGithubActionRun && !IsPr &&
.OnlyWhenStatic(() => OnGithubActionRun &&
!string.IsNullOrWhiteSpace(SonarCloudInfo.Organization) &&
!string.IsNullOrWhiteSpace(SonarCloudInfo.BackendProjectKey)
)
Expand Down Expand Up @@ -107,7 +107,7 @@ ReleaseParams[] ReleaseInfos() =>

Target Backend_SonarScan_End => targetDefinition => targetDefinition
.DependsOn(Backend_Test_Ci)
.OnlyWhenStatic(() => OnGithubActionRun && !IsPr &&
.OnlyWhenStatic(() => OnGithubActionRun &&
!string.IsNullOrWhiteSpace(SonarCloudInfo.Organization) &&
!string.IsNullOrWhiteSpace(SonarCloudInfo.BackendProjectKey)
)
Expand Down

0 comments on commit 7bc8f55

Please sign in to comment.