Pr/plugins 4430 fixed groovy version compatibility issues #3
Workflow file for this run
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: Build Gradle Project | |
on: | |
push: | |
branches: [ "master" ] | |
pull_request: | |
branches: [ "master" ] | |
permissions: | |
contents: read | |
jobs: | |
build-gradle-project: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v3 | |
- name: Set up JDK | |
uses: actions/setup-java@v3 | |
with: | |
java-version: '8' | |
distribution: 'adopt-openj9' | |
- name: Grant execute permission for gradlew | |
run: chmod +x ./gradlew | |
- name: Run build | |
run: ./gradlew build | |
- name: Run tests | |
run: ./gradlew test |