-
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.
Browse files
Browse the repository at this point in the history
(cherry picked from commit 2dc071f) Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> Signed-off-by: Peter Nied <[email protected]> Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> Co-authored-by: Peter Nied <[email protected]>
- Loading branch information
1 parent
831f233
commit dc6d8d4
Showing
3 changed files
with
104 additions
and
0 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 |
---|---|---|
@@ -0,0 +1,24 @@ | ||
name: "Detect Breaking Changes" | ||
on: [push, pull_request] | ||
jobs: | ||
detect-breaking-change: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- uses: actions/setup-java@v4 | ||
with: | ||
distribution: temurin # Temurin is a distribution of adoptium | ||
java-version: 21 | ||
- uses: gradle/gradle-build-action@v3 | ||
with: | ||
arguments: japicmp | ||
gradle-version: 8.7 | ||
build-root-directory: server | ||
- if: failure() | ||
run: cat server/build/reports/java-compatibility/report.txt | ||
- if: failure() | ||
uses: actions/upload-artifact@v4 | ||
with: | ||
name: java-compatibility-report.html | ||
path: ${{ github.workspace }}/server/build/reports/java-compatibility/report.html | ||
|
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
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