Add separate GitHub workflow config for unit-testing java11 branch #897
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: unit-test | |
on: | |
push: | |
branches-ignore: | |
- '**java11' | |
permissions: | |
contents: read | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Setup JDK 8 | |
uses: actions/setup-java@v3 | |
with: | |
distribution: 'liberica' | |
java-version: '8' | |
- name: Build and test with Gradle | |
run: ./gradlew clean build |