Mindustry/.github/workflows/pr.yml
2021-06-14 10:41:19 -04:00

22 lines
510 B
YAML

name: Pull Request Tests
on: [pull_request, workflow_dispatch]
jobs:
buildJava14:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up JDK 16
uses: actions/setup-java@v1
with:
java-version: 16
- name: Run unit tests and build JAR
run: ./gradlew test desktop:dist
- name: Upload desktop JAR for testing
uses: actions/upload-artifact@v2
with:
name: Desktop JAR (zipped)
path: desktop/build/libs/Mindustry.jar