Skip to content

Commit

Permalink
Add Gradle build scans
Browse files Browse the repository at this point in the history
  • Loading branch information
prdoyle committed Jul 3, 2024
1 parent 06c6463 commit e0323ce
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build-and-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ jobs:

- name: Run Gradle Test
run: |
./gradlew spotlessCheck spotBugsMain test --profile --fail-fast
./gradlew spotlessCheck spotBugsMain test --profile --fail-fast --scan
env:
ORG_GRADLE_PROJECT_ossrhUsername: ${{secrets.OSSRH_USERNAME}}
ORG_GRADLE_PROJECT_ossrhPassword: ${{secrets.OSSRH_TOKEN}}
Expand Down
4 changes: 1 addition & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,6 @@ jobs:

steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0

- uses: actions/setup-java@v4
with:
Expand All @@ -34,7 +32,7 @@ jobs:
run: |
./gradlew :bosk-core:test publish \
-Pversion="${{github.event.release.tag_name}}" \
--info
--info --scan
env:
ORG_GRADLE_PROJECT_ossrhUsername: ${{secrets.OSSRH_USERNAME}}
ORG_GRADLE_PROJECT_ossrhPassword: ${{secrets.OSSRH_TOKEN}}
Expand Down

0 comments on commit e0323ce

Please sign in to comment.