DaCliente-tests/.github/workflows/build.yml
obvtiger 7d14dffae1
Some checks failed
build / build (push) Failing after 4m43s
Update .github/workflows/build.yml
2025-04-25 09:47:58 +02:00

28 lines
No EOL
901 B
YAML

# Automatically build the project and run any configured tests for every push
# and submitted pull request. This can help catch issues that only occur on
# certain platforms or Java versions, and provides a first line of defence
# against bad commits.
name: build
on: [pull_request, push]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: checkout repository
uses: https://git.eplg.services/actions/checkout@v4
- name: setup jdk
uses: https://git.eplg.services/actions/setup-java@v4
with:
java-version: '21'
distribution: 'microsoft'
- name: make gradle wrapper executable
run: chmod +x ./gradlew
- name: build
run: ./gradlew build
- name: capture build artifacts
uses: https://git.eplg.services/actions/upload-artifact@v4
with:
name: Artifacts
path: build/libs/