Skip to content

Commit

Permalink
Trigger
Browse files Browse the repository at this point in the history
  • Loading branch information
Farshad DASHTI authored and Farshad DASHTI committed Oct 4, 2024
1 parent efc989c commit 0033c3d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/build-test-template.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ on:
type: string
description: "SonarCloud project key"
run_tests:
required: true
required: false
type: boolean
default: true
description: "Flag to run or skip tests"
Expand Down Expand Up @@ -77,6 +77,7 @@ jobs:
env:
CI: true
run: |
echo "run_tests is set to: ${{ inputs.run_tests }}"
if [ ${{ inputs.run_tests }} == "true" ]; then
dotnet-sonarscanner begin /k:"${{ inputs.sonar_project_key }}" /o:"dfe-digital" /d:sonar.token="${{ secrets.SONAR_TOKEN }}" /d:sonar.host.url="https://sonarcloud.io" /d:sonar.coverageReportPaths=CoverageReport/SonarQube.xml;
else
Expand Down
3 changes: 2 additions & 1 deletion src/DfE.CoreLibs.Caching/ServiceCollectionExtensions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,5 @@ public static IServiceCollection AddServiceCaching(
return services;
}
}
}
}

0 comments on commit 0033c3d

Please sign in to comment.