Fixes for Folia #68
Workflow file for this run
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 FarmControl | |
on: [push, pull_request] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Set up NabConfiguration JDK | |
uses: actions/setup-java@v2 | |
with: | |
java-version: 8 | |
distribution: 'adopt' | |
- name: Check out NabConfiguration | |
uses: actions/checkout@v2 | |
with: | |
repository: froobynooby/nab-configuration | |
- name: Validate Gradle Wrapper | |
uses: gradle/wrapper-validation-action@v1 | |
- name: Install NabConfiguration | |
run: ./gradlew install | |
- name: Set up FarmControl JDK | |
uses: actions/setup-java@v2 | |
with: | |
java-version: 17 | |
distribution: 'adopt' | |
- name: Check out FarmControl | |
uses: actions/checkout@v2 | |
- name: Validate Gradle Wrapper | |
uses: gradle/wrapper-validation-action@v1 | |
- name: Build FarmControl | |
run: ./gradlew build | |
- name: Archive FarmControl | |
uses: actions/upload-artifact@v2 | |
with: | |
path: build/libs/*.jar | |
name: FarmControl |