keyguard-app-Bitwarden-Vaul.../.github/workflows/check_licenses.yml

37 lines
753 B
YAML
Raw Normal View History

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'
cache: 'gradle'
- name: "Check licenses"
uses: eskatos/gradle-command-action@v2
env:
JAVA_HOME: ${{ steps.setup-java.outputs.path }}
with:
arguments: licensee