Jelajahi Sumber

fix: gh actions syntax

Lucas Severo Alves 4 tahun lalu
induk
melakukan
c6fa6386eb
1 mengubah file dengan 1 tambahan dan 1 penghapusan
  1. 1 1
      .github/workflows/ci.yml

+ 1 - 1
.github/workflows/ci.yml

@@ -176,7 +176,7 @@ jobs:
           make test
           make test
 
 
       - name: SonarCloud Scans
       - name: SonarCloud Scans
-        if: secrets.SONAR_TOKEN != ''
+        if: ${{secrets.SONAR_TOKEN}} != ''
         uses: SonarSource/sonarcloud-github-action@master
         uses: SonarSource/sonarcloud-github-action@master
         env:
         env:
           GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}  # Needed to get PR information, if any
           GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}  # Needed to get PR information, if any