Skip to content

Commit

Permalink
ci: use ./gradlew
Browse files Browse the repository at this point in the history
  • Loading branch information
vitorsalgado committed Feb 20, 2024
1 parent c13cb81 commit 366a9eb
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,16 +46,16 @@ jobs:

- name: Build
run: |
gradle build
gradle jacocoRootTestReport
./gradlew build
./gradlew jacocoRootTestReport
- name: Sonar
if: github.ref == 'refs/heads/main'
env:
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'
Expand All @@ -81,7 +81,7 @@ jobs:
cache: gradle

- name: Build
run: gradle build
run: ./gradlew build

- name: Decode
run: |
Expand All @@ -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
Expand Down

0 comments on commit 366a9eb

Please sign in to comment.