2023-12-30 03:59:36 +01:00
|
|
|
name: "Build repo"
|
|
|
|
|
|
|
|
on:
|
|
|
|
push:
|
|
|
|
branches: [ "main" ]
|
2024-03-13 23:18:15 +01:00
|
|
|
paths-ignore:
|
|
|
|
- ".github/**"
|
|
|
|
- "**/*.md"
|
2023-12-30 03:59:36 +01:00
|
|
|
pull_request:
|
|
|
|
branches: [ "main" ]
|
2024-03-13 23:18:15 +01:00
|
|
|
paths-ignore:
|
|
|
|
- ".github/**"
|
|
|
|
- "**/*.md"
|
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:
|
|
|
|
- name: Checkout repository
|
|
|
|
uses: actions/checkout@v3
|
|
|
|
|
|
|
|
- name: Set up JDK 17
|
|
|
|
uses: actions/setup-java@v3
|
|
|
|
with:
|
|
|
|
java-version: '17'
|
|
|
|
distribution: 'temurin'
|
|
|
|
|
|
|
|
- uses: gradle/gradle-build-action@v2.4.2
|
|
|
|
with:
|
|
|
|
gradle-version: 7.6
|
|
|
|
arguments: build --no-build-cache
|