Skip to content

Update gradle-ci.yml to run with gradle wrapper #13

Update gradle-ci.yml to run with gradle wrapper

Update gradle-ci.yml to run with gradle wrapper #13

Workflow file for this run

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: Run build
run: ./gradlew build
- name: Run tests
run: ./gradlew test