Skip to content

Add duration functionality #14

Add duration functionality

Add duration functionality #14

Workflow file for this run

name: CI
on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]
workflow_dispatch: # allows manual triggering
permissions:
contents: read
jobs:
build:
runs-on: ubuntu-latest
strategy:
fail-fast: false # ensures build runs for all three JDKs
matrix:
java: [ '8', '11', '17' ]
name: Java ${{ matrix.Java }}
steps:
- uses: actions/checkout@v3
- name: Set up JDK
uses: actions/setup-java@v3
with:
java-version: ${{ matrix.java }}
distribution: 'temurin'
- name: Build with Gradle
uses: gradle/gradle-build-action@v2
with:
arguments: clean build
gradle-version: 8.5 # facilitates compatibility with JDK 21