mirror of
https://github.com/BlueMap-Minecraft/BlueMapAPI.git
synced 2024-11-27 04:35:17 +01:00
1992148128
* Rework gradle-build setup * Fix versioning * Configure publishing * Fix github action * Fix github action 2 * Reorganize project naming * Update gradle
25 lines
520 B
YAML
25 lines
520 B
YAML
name: Build
|
|
|
|
on: [push]
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
with:
|
|
submodules: recursive
|
|
fetch-depth: 0 # needed for versioning
|
|
- name: Set up Java
|
|
uses: actions/setup-java@v4
|
|
with:
|
|
distribution: 'temurin'
|
|
java-version: 21
|
|
cache: 'gradle'
|
|
- name: Build with Gradle
|
|
run: ./gradlew clean build test
|
|
- uses: actions/upload-artifact@v4
|
|
with:
|
|
name: artifact
|
|
path: build/libs/*
|