Skip to content

Detect Breaking Changes #1496

Detect Breaking Changes

Detect Breaking Changes #1496

name: "Detect Breaking Changes"
on:
push:
pull_request:
schedule:
- cron: '0 * * * *'
jobs:
detect-breaking-change:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 0
- run: git remote add upstream https://github.com/opensearch-project/OpenSearch.git
- run: git fetch upstream
- run: |
git config --global user.email "[email protected]"
git config --global user.name "Your Name"
git merge upstream/main -m "Merged from upstream"
- uses: actions/setup-java@v2
with:
distribution: temurin # Temurin is a distribution of adoptium
java-version: 17
- uses: gradle/gradle-build-action@v2
with:
arguments: japicmp
gradle-version: 8.2.1
build-root-directory: server
- if: failure()
run: cat server/build/reports/japi.txt