Skip to content

Commit

Permalink
Fix detect-breaking-change Github action configuration
Browse files Browse the repository at this point in the history
Signed-off-by: Andriy Redko <andriy.redko@aiven.io>
  • Loading branch information
reta committed Apr 2, 2024
1 parent 1beec65 commit db34e0f
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions .github/workflows/detect-breaking-change.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
name: "Detect Breaking Changes"
on: [push, pull_request]
on:
pull_request:
push:
branches:
- main
- '[0-9]+.[0-9]+'
- '[0-9]+.x'
jobs:
detect-breaking-change:
runs-on: ubuntu-latest
Expand All @@ -11,7 +17,7 @@ jobs:
java-version: 21
- uses: gradle/gradle-build-action@v3
with:
arguments: japicmp
arguments: japicmp --no-build-cache --no-configuration-cache
gradle-version: 8.7
build-root-directory: server
- if: failure()
Expand Down

0 comments on commit db34e0f

Please sign in to comment.