Skip to content

Dev/1.21

Dev/1.21 #361

Workflow file for this run

name: build
on:
push:
paths-ignore:
- 'docs/**'
- 'mkdocs.yml'
- 'README.md'
pull_request:
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Cache
uses: actions/cache@v2
with:
path: |
~/.gradle/loom-cache
~/.gradle/caches
~/.gradle/wrapper
key: gradle-${{ hashFiles('**/*.gradle*', '**/gradle-wrapper.properties') }}
restore-keys: |
gradle-
- name: Checkout repository
uses: actions/checkout@v2
- name: Validate gradle wrapper
uses: gradle/wrapper-validation-action@v1
- name: Setup JDK 21
uses: actions/setup-java@v1
with:
java-version: 21
- name: Ensure gradlew is executable
run: chmod +x ./gradlew
- name: Validate the gradle wrapper
uses: gradle/wrapper-validation-action@v1
- name: Build
run: ./gradlew build