From: Jérôme Benoit Date: Tue, 31 May 2022 20:04:31 +0000 (+0200) Subject: Run sonarcloud CI job only on GNU/Linux X-Git-Tag: v1.1.61~21 X-Git-Url: https://git.piment-noir.org/?a=commitdiff_plain;h=ad282de83ce751e1c871bda3f5d459e675f11204;p=e-mobility-charging-stations-simulator.git Run sonarcloud CI job only on GNU/Linux Signed-off-by: Jérôme Benoit --- diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 04c3d40f..09513c93 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -32,7 +32,7 @@ jobs: - name: npm run coverage run: npm run coverage - name: SonarCloud Scan - if: "github.repository == 'sap/emobility-charging-stations-simulator' && matrix.node == '16.x'" + if: "github.repository == 'sap/emobility-charging-stations-simulator' && matrix.os == 'ubuntu-latest' && matrix.node == '16.x'" uses: sonarsource/sonarcloud-github-action@master env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # Needed to get PR information, if any @@ -41,8 +41,6 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 - - name: Set up QEMU - uses: docker/setup-qemu-action@v2 - name: Set up Docker Buildx id: buildx uses: docker/setup-buildx-action@v2