Merge pull request #2387 from Apollounknowndev/trunk/1.20 #361
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build | |
on: [pull_request, push] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: checkout repository | |
uses: actions/checkout@v3 | |
- name: setup jdk | |
uses: actions/setup-java@v3 | |
with: | |
distribution: 'temurin' | |
java-version: 17 | |
cache: 'gradle' | |
- name: make gradle wrapper executable | |
run: chmod +x ./gradlew | |
- name: setup | |
run: ./gradlew eclipse | |
- name: build | |
run: ./gradlew build |