BlueMapAPI/.github/workflows/gradle.yml
2023-09-27 23:50:42 +02:00

25 lines
530 B
YAML

name: Java CI
on: [push]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
submodules: recursive
fetch-depth: 0 # needed for versioning
- name: Set up Java
uses: actions/setup-java@v3
with:
distribution: 'temurin'
java-version: 11
cache: 'gradle'
- name: Build with Gradle
run: ./gradlew clean build test
- uses: actions/upload-artifact@v2-preview
with:
name: artifact
path: build/libs/*