Primitive-Collections/.github/workflows/build_action.yml

33 lines
738 B
YAML
Raw Normal View History

name: Latest Build
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build:
strategy:
fail-fast: false
matrix:
jdk: [8, 11, 14, 16, 17, 18]
runs-on: ubuntu-latest
steps:
2022-06-14 09:04:38 +02:00
- uses: actions/checkout@v2
- name: Set up JDK ${{ matrix.jdk }}
2022-06-14 09:04:38 +02:00
uses: actions/setup-java@v1
with:
java-version: ${{ matrix.jdk }}
- name: Validate Gradle wrapper
uses: gradle/wrapper-validation-action@e6e38bacfdf1a337459f332974bb2327a31aaf4b
- name: Make gradlew executable
run: chmod +x ./gradlew
- name: Build with Gradle
run: ./gradlew build