diff options
author | Kristóf Marussy <kristof@marussy.com> | 2023-03-31 17:20:41 +0200 |
---|---|---|
committer | Kristóf Marussy <kristof@marussy.com> | 2023-03-31 17:25:49 +0200 |
commit | 597f8cbbb3cf6873e89c9c885e38460f17802d9f (patch) | |
tree | e98eae681a866d2d0cd728885ed6c8f8fa65e9a2 | |
parent | chore(deps): bump dependencies (diff) | |
download | refinery-597f8cbbb3cf6873e89c9c885e38460f17802d9f.tar.gz refinery-597f8cbbb3cf6873e89c9c885e38460f17802d9f.tar.zst refinery-597f8cbbb3cf6873e89c9c885e38460f17802d9f.zip |
build: try to fix secret detection in workflow
-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: |