2023-12-29 17:38:23 +01:00
|
|
|
name: "✔️ Check Licenses"
|
|
|
|
|
|
|
|
on:
|
|
|
|
workflow_dispatch:
|
|
|
|
push:
|
|
|
|
branches:
|
|
|
|
- master
|
|
|
|
paths:
|
|
|
|
- '**/*.gradle*'
|
|
|
|
- 'gradle/**'
|
|
|
|
pull_request:
|
|
|
|
branches:
|
|
|
|
- master
|
|
|
|
paths:
|
|
|
|
- '**/*.gradle*'
|
|
|
|
- 'gradle/**'
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
check-licenses:
|
|
|
|
name: Check Licenses
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@v4
|
|
|
|
- name: "Set up JDK 17"
|
|
|
|
id: setup-java
|
|
|
|
uses: actions/setup-java@v4
|
|
|
|
with:
|
|
|
|
distribution: 'temurin'
|
|
|
|
java-version: '17'
|
2024-07-14 14:25:06 +02:00
|
|
|
- name: "Setup Gradle"
|
2024-08-08 06:26:01 +02:00
|
|
|
uses: gradle/actions/setup-gradle@v4
|
2023-12-29 17:38:23 +01:00
|
|
|
env:
|
|
|
|
JAVA_HOME: ${{ steps.setup-java.outputs.path }}
|
2024-07-14 14:25:06 +02:00
|
|
|
- name: "Check licenses"
|
|
|
|
run: ./gradlew licensee
|