-
Notifications
You must be signed in to change notification settings - Fork 184
32 lines (27 loc) · 1 KB
/
dash-license.yml
File metadata and controls
32 lines (27 loc) · 1 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
name: dash license
on:
pull_request:
workflow_dispatch:
jobs:
license-check:
if: ${{ false }}
# Disabled until ClearlyDefined throttling is resolved (see eclipse-rdf4j/rdf4j#5457)
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up JDK
uses: actions/setup-java@v4
with:
java-version: 21
distribution: 'temurin'
cache: maven
- name: Clean install
run: mvn -B clean install -Pquick -DskipTests
- name: Package
run: mvn -B -U package -Pquick -DskipTests
- name: Run license-check
run: mvn -B -Plicence-check org.eclipse.dash:license-tool-plugin:license-check -Ddash.summary=DEPENDENCIES
- name: Print Dash Summary
if: always()
run: cat DEPENDENCIES
# To automatically fix license issues, you can use the following command: mvn -Plicence-check org.eclipse.dash:license-tool-plugin:license-check -Ddash.iplab.token=TOKEN_HERE -Ddash.projectId=technology.rdf4j