BlueMapAPI/.github/workflows/gradle.yml
Lukas Rieger (Blue) d2f8aab825
Fix workflow 2
2022-08-01 23:21:32 +02:00

23 lines
477 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 11
uses: actions/setup-java@v1
with:
java-version: 11
- name: Build with Gradle
run: ./gradlew clean build test
- uses: actions/upload-artifact@v2-preview
with:
name: artifact
path: build/libs/*