diff options
Diffstat (limited to '.github/workflows/build.yml')
-rw-r--r-- | .github/workflows/build.yml | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index ce42b9f1..64aa23e4 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml | |||
@@ -16,7 +16,9 @@ jobs: | |||
16 | env: | 16 | env: |
17 | SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }} | 17 | SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }} |
18 | run: | | 18 | run: | |
19 | echo "is_SONAR_TOKEN_set=${{ env.SONAR_TOKEN != '' }}" >> $GITHUB_OUTPUT | 19 | if [ "${SONAR_TOKEN}" != '' ]; then |
20 | echo 'is_SONAR_TOKEN_set=true' >> $GITHUB_OUTPUT | ||
21 | fi | ||
20 | - name: Checkout code | 22 | - name: Checkout code |
21 | uses: actions/checkout@v3 | 23 | uses: actions/checkout@v3 |
22 | with: | 24 | with: |