2023-12-30 03:59:36 +01:00
|
|
|
name: "Build repo"
|
|
|
|
|
|
|
|
on:
|
|
|
|
push:
|
2024-04-21 17:30:17 +02:00
|
|
|
branches: ["main"]
|
2023-12-30 03:59:36 +01:00
|
|
|
pull_request:
|
2024-04-21 17:30:17 +02:00
|
|
|
branches: ["main"]
|
2023-12-30 03:59:36 +01:00
|
|
|
|
|
|
|
jobs:
|
|
|
|
build:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
|
|
|
|
permissions:
|
|
|
|
actions: read
|
|
|
|
contents: read
|
|
|
|
security-events: write
|
|
|
|
|
|
|
|
strategy:
|
|
|
|
fail-fast: false
|
|
|
|
|
|
|
|
steps:
|
2024-04-21 17:30:17 +02:00
|
|
|
- name: Checkout repository
|
|
|
|
uses: actions/checkout@v4
|
|
|
|
|
|
|
|
- name: Set up JDK 17
|
|
|
|
uses: actions/setup-java@v4
|
|
|
|
with:
|
|
|
|
java-version: "17"
|
|
|
|
distribution: "temurin"
|
|
|
|
|
|
|
|
- uses: gradle/actions/setup-gradle@v3
|
|
|
|
with:
|
2024-05-27 18:53:18 +02:00
|
|
|
gradle-version: 8.7
|
2024-04-21 17:30:17 +02:00
|
|
|
|
|
|
|
- name: Build with Gradle
|
|
|
|
run: ./gradlew build --no-build-cache
|