-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use develocity-actions/setup-maven to surface Build Scan links
Don't add PR comment with build scan links - scans aren't published for PR builds against forks
- Loading branch information
1 parent
ec430f0
commit 98f387b
Showing
2 changed files
with
11 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -92,10 +92,14 @@ jobs: | |
distribution: 'temurin' | ||
java-version: '21' | ||
|
||
- name: Setup Develocity | ||
uses: gradle/develocity-actions/[email protected] | ||
with: | ||
add-pr-comment: false | ||
develocity-access-key: ${{ secrets.DEVELOCITY_ACCESS_KEY }} | ||
|
||
- name: Compile project | ||
run: ./mvnw -B -ntp clean package -Pquickbuild -Dtoolchain.skip=true | ||
env: | ||
DEVELOCITY_ACCESS_KEY: ${{ secrets.DEVELOCITY_ACCESS_KEY }} | ||
|
||
- name: Perform CodeQL Analysis | ||
uses: github/codeql-action/analyze@v2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -28,6 +28,11 @@ jobs: | |
java-version: '21' | ||
distribution: 'temurin' | ||
cache: 'maven' | ||
- name: Setup Develocity | ||
uses: gradle/develocity-actions/[email protected] | ||
with: | ||
add-pr-comment: false | ||
develocity-access-key: ${{ secrets.DEVELOCITY_ACCESS_KEY }} | ||
|
||
# Capture the PR number | ||
# https://docs.github.com/en/actions/using-workflows/events-that-trigger-workflows#using-data-from-the-triggering-workflow | ||
|
@@ -43,8 +48,6 @@ jobs: | |
# Execute recipes | ||
- name: Apply OpenRewrite recipes | ||
run: ./mvnw -Dtoolchain.skip=true -Dlicense.skip=true -DskipTests=true -P openrewrite clean install | ||
env: | ||
DEVELOCITY_ACCESS_KEY: ${{ secrets.DEVELOCITY_ACCESS_KEY }} | ||
|
||
# Capture the diff | ||
- name: Create patch | ||
|