From 366a9ebefcf21c913956c348e1d545b78b6a3674 Mon Sep 17 00:00:00 2001 From: Vitor Hugo Salgado <2922948+vitorsalgado@users.noreply.github.com> Date: Tue, 20 Feb 2024 22:31:48 +0100 Subject: [PATCH] ci: use ./gradlew --- .github/workflows/ci.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 6a737a1..d9c908e 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -46,8 +46,8 @@ jobs: - name: Build run: | - gradle build - gradle jacocoRootTestReport + ./gradlew build + ./gradlew jacocoRootTestReport - name: Sonar if: github.ref == 'refs/heads/main' @@ -55,7 +55,7 @@ jobs: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }} run: | - gradle sonarqube --info + ./gradlew sonarqube --info - name: Coverage if: github.ref == 'refs/heads/main' @@ -81,7 +81,7 @@ jobs: cache: gradle - name: Build - run: gradle build + run: ./gradlew build - name: Decode run: | @@ -93,7 +93,7 @@ jobs: ORG_GRADLE_PROJECT_sonatypeUsername: ${{ secrets.SONATYPE_USER }} ORG_GRADLE_PROJECT_sonatypePassword: ${{ secrets.SONATYPE_PASSWORD }} run: | - gradle publishToSonatype -Psigning.keyId=${{secrets.SIGNING_KEY_ID}} -Psigning.password=${{secrets.SIGNING_KEY_PASSWORD}} -Psigning.secretKeyRingFile=$(echo ~/.gradle/secring.gpg) + ./gradlew publishToSonatype -Psigning.keyId=${{secrets.SIGNING_KEY_ID}} -Psigning.password=${{secrets.SIGNING_KEY_PASSWORD}} -Psigning.secretKeyRingFile=$(echo ~/.gradle/secring.gpg) - name: Use Node id: setup-node