home-cert-assistant/.forgejo/workflows/build.yml
Magnus Leßmann (@MarkL4YG) 483be8f11c
Some checks failed
Build / build (pull_request) Failing after 0s
Check formatting / check-formatting (pull_request) Failing after 0s
ci: Create forgejo workflows
2025-04-20 21:33:59 +02:00

27 lines
No EOL
649 B
YAML

name: Build
on:
pull_request:
branches:
- main
concurrency:
cancel-in-progress: true
group: ${{ github.workflow }}-${{ github.ref }}
jobs:
build:
runs-on: ubuntu-24.04
steps:
- uses: code.forgejo.org/actions/checkout@v4
with:
fetch-depth: 0
- uses: github.com/actions/setup-java@v4
with:
distribution: 'temurin'
java-version: 21
- uses: github.com/gradle/actions/setup-gradle@v4
- name: Build gradle project
run: ./gradlew build
env:
ORG_GRADLE_PROJECT_SPRING_DEBUG: ${{ fromJSON(steps.pr-env.outputs.result).SPRING_DEBUG }}