Improve build script code #122
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
name: Check library API binary compatibility | |
on: | |
push: | |
branches: | |
- main | |
jobs: | |
check-api-compatibility: | |
name: Check API compatibility | |
runs-on: windows-latest | |
steps: | |
- name: Checkout the code | |
uses: actions/checkout@v4 | |
- name: Set up a specific Java version | |
uses: actions/setup-java@v4 | |
with: | |
distribution: "temurin" # OR adopt OR microsoft OR... | |
java-version: "17" | |
- name: Run the check | |
run: ./gradlew apiCheck |