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'
|
|
|
|
- name: "Check licenses"
|
2024-05-03 21:57:37 +02:00
|
|
|
uses: gradle/actions/setup-gradle@v3
|
2023-12-29 17:38:23 +01:00
|
|
|
env:
|
|
|
|
JAVA_HOME: ${{ steps.setup-java.outputs.path }}
|
|
|
|
with:
|
|
|
|
arguments: licensee
|