Testing Github Actions CI

This commit is contained in:
Anuken
2020-11-19 18:53:02 -05:00
parent 15ef32447c
commit f71b726877
10 changed files with 116 additions and 34 deletions
+21
View File
@@ -0,0 +1,21 @@
name: Pull Request Tests
on: [pull_request]
jobs:
buildJava14:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- name: Set up JDK 14
uses: actions/setup-java@v1
with:
java-version: 14
- 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