TechReborn/.github/workflows/check.yml

21 lines
No EOL
517 B
YAML

name: Check
on: [push, pull_request]
jobs:
build:
strategy:
matrix:
java: [ 17-jdk, 19-jdk ]
runs-on: ubuntu-22.04
container:
image: eclipse-temurin:${{ matrix.java }}
options: --user root
steps:
- uses: actions/checkout@v3
- run: ./gradlew runDatagen --stacktrace
- run: ./gradlew build --stacktrace -x runDatagen
- name: Upload artifacts
uses: actions/upload-artifact@v3
with:
name: Artifacts
path: build/libs/