Skip to content

feat(*): fix for 1.21 #20

feat(*): fix for 1.21

feat(*): fix for 1.21 #20

Workflow file for this run

name: build
on:
workflow_dispatch:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
build:
strategy:
matrix:
java: [ 21 ]
os: [ ubuntu-22.04, windows-2022 ]
runs-on: ${{ matrix.os }}
steps:
- name: checkout repository
uses: actions/checkout@v3
- name: validate gradle wrapper
uses: gradle/wrapper-validation-action@v1
- name: setup jdk ${{ matrix.java }}
uses: actions/setup-java@v3
with:
java-version: ${{ matrix.java }}
distribution: 'liberica'
- name: Run chmod to make gradlew executable
run: chmod +x ./gradlew
- name: Gradle build
uses: gradle/gradle-build-action@v2
with:
arguments: build