mirror of
https://github.com/BlueMap-Minecraft/BlueMapAPI.git
synced 2024-11-23 18:55:21 +01:00
25 lines
530 B
YAML
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/*
|