Re-adding "always()" expression in the condition

This commit is contained in:
Maxime NATUREL 2022-09-07 12:14:03 +02:00
parent 41f75eed50
commit b60c279c06

View File

@ -77,7 +77,7 @@ jobs:
# we may have failed a previous step and retried, that's OK
- name: Publish results to Sonar
if: ${{ env.GITHUB_TOKEN != '' && env.SONAR_TOKEN != '' && env.ORG_GRADLE_PROJECT_SONAR_LOGIN != '' }}
if: ${{ always() && env.GITHUB_TOKEN != '' && env.SONAR_TOKEN != '' && env.ORG_GRADLE_PROJECT_SONAR_LOGIN != '' }}
run: ./gradlew sonarqube $CI_GRADLE_ARG_PROPERTIES
- name: Format unit test results