Skip to content

fix: Update Github Action Java version to 17 #82

fix: Update Github Action Java version to 17

fix: Update Github Action Java version to 17 #82

Workflow file for this run

name: Build
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- uses: actions/cache@v2
with:
path: |
~/.gradle/caches
~/.gradle/wrapper
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*', '**/gradle-wrapper.properties') }}
restore-keys: |
${{ runner.os }}-gradle-
- name: Set Up JDK
uses: actions/setup-java@v1
with:
java-version: '17'
- name: Run Tests
run: ./gradlew test
- name: Build Project
run: ./gradlew assemble