From: Jérôme Benoit Date: Sat, 6 May 2023 22:09:11 +0000 (+0200) Subject: build(ci): silence GitHub actions warnings X-Git-Tag: v1.2.12~4 X-Git-Url: https://git.piment-noir.org/?a=commitdiff_plain;h=ef28112f88ab1b339712bee6115387e2476fde9c;p=e-mobility-charging-stations-simulator.git build(ci): silence GitHub actions warnings Signed-off-by: Jérôme Benoit --- diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index d7e43f3c..06fee6c3 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -34,10 +34,10 @@ jobs: - name: pnpm test run: pnpm test - name: pnpm coverage - if: "github.repository == 'sap/e-mobility-charging-stations-simulator' && matrix.os == 'ubuntu-latest' && matrix.node == '18.x'" + if: ${{ github.repository == 'sap/e-mobility-charging-stations-simulator' && matrix.os == 'ubuntu-latest' && matrix.node == '18.x' }} run: pnpm coverage - name: SonarCloud Scan - if: "github.repository == 'sap/e-mobility-charging-stations-simulator' && matrix.os == 'ubuntu-latest' && matrix.node == '18.x'" + if: ${{ github.repository == 'sap/e-mobility-charging-stations-simulator' && matrix.os == 'ubuntu-latest' && matrix.node == '18.x' }} uses: sonarsource/sonarcloud-github-action@v1.9.1 env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # Needed to get PR information, if any @@ -72,10 +72,10 @@ jobs: - name: pnpm test run: pnpm test - name: pnpm coverage - if: "github.repository == 'sap/e-mobility-charging-stations-simulator' && matrix.os == 'ubuntu-latest' && matrix.node == '18.x'" + if: ${{ github.repository == 'sap/e-mobility-charging-stations-simulator' && matrix.os == 'ubuntu-latest' && matrix.node == '18.x' }} run: pnpm coverage - name: SonarCloud Scan - if: "github.repository == 'sap/e-mobility-charging-stations-simulator' && matrix.os == 'ubuntu-latest' && matrix.node == '18.x'" + if: ${{ github.repository == 'sap/e-mobility-charging-stations-simulator' && matrix.os == 'ubuntu-latest' && matrix.node == '18.x' }} uses: sonarsource/sonarcloud-github-action@v1.9.1 with: projectBaseDir: ui/web