From 90e4c39607f07323a6a84d9d82385732be754939 Mon Sep 17 00:00:00 2001 From: Kristóf Marussy Date: Fri, 24 Sep 2021 18:30:00 +0200 Subject: ci: fix typo and simplify workflow --- .github/workflows/build.yml | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to '.github/workflows') diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 4b35fa5b..9c923182 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -40,10 +40,8 @@ jobs: **/node_modules key: ${{ runner.os }}-npm-${{ hashFiles('**/package-lock.json') }} restore-keys: ${{ runner.os }}-npm - - name: Gradle build - run: ./gradlew build --info - - name: Sonar analyze + - name: Gradle build and Sonar analyze env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # Needed to get PR information, if any + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # Needed by Sonar to get PR information, if any SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }} - run: ./gradlew sonarqube --info + run: ./gradlew build sonarqube --info -- cgit v1.2.3-54-g00ecf