Skip to content

Commit 366a9eb

Browse files
committed
ci: use ./gradlew
1 parent c13cb81 commit 366a9eb

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

.github/workflows/ci.yml

+5-5
Original file line numberDiff line numberDiff line change
@@ -46,16 +46,16 @@ jobs:
4646

4747
- name: Build
4848
run: |
49-
gradle build
50-
gradle jacocoRootTestReport
49+
./gradlew build
50+
./gradlew jacocoRootTestReport
5151
5252
- name: Sonar
5353
if: github.ref == 'refs/heads/main'
5454
env:
5555
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
5656
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
5757
run: |
58-
gradle sonarqube --info
58+
./gradlew sonarqube --info
5959
6060
- name: Coverage
6161
if: github.ref == 'refs/heads/main'
@@ -81,7 +81,7 @@ jobs:
8181
cache: gradle
8282

8383
- name: Build
84-
run: gradle build
84+
run: ./gradlew build
8585

8686
- name: Decode
8787
run: |
@@ -93,7 +93,7 @@ jobs:
9393
ORG_GRADLE_PROJECT_sonatypeUsername: ${{ secrets.SONATYPE_USER }}
9494
ORG_GRADLE_PROJECT_sonatypePassword: ${{ secrets.SONATYPE_PASSWORD }}
9595
run: |
96-
gradle publishToSonatype -Psigning.keyId=${{secrets.SIGNING_KEY_ID}} -Psigning.password=${{secrets.SIGNING_KEY_PASSWORD}} -Psigning.secretKeyRingFile=$(echo ~/.gradle/secring.gpg)
96+
./gradlew publishToSonatype -Psigning.keyId=${{secrets.SIGNING_KEY_ID}} -Psigning.password=${{secrets.SIGNING_KEY_PASSWORD}} -Psigning.secretKeyRingFile=$(echo ~/.gradle/secring.gpg)
9797
9898
- name: Use Node
9999
id: setup-node

0 commit comments

Comments
 (0)