BlueMapAPI/.github/workflows/build.yml
Lukas Rieger 1992148128
Rework gradle-build system (#7)
* Rework gradle-build setup

* Fix versioning

* Configure publishing

* Fix github action

* Fix github action 2

* Reorganize project naming

* Update gradle
2024-09-12 17:46:00 +02:00

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/*