Skip to content

Commit

Permalink
[eclipse-texlipse#111] Configure dash license tool
Browse files Browse the repository at this point in the history
* enable with direct call to configure `-Ddash.fail=false`
  • Loading branch information
ruspl-afed committed Mar 6, 2024
1 parent 2a5e461 commit 3860745
Showing 1 changed file with 25 additions and 6 deletions.
31 changes: 25 additions & 6 deletions .github/workflows/dash-licenses.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,28 @@ on:
types: [created]

jobs:
call-license-check:
uses: eclipse/dash-licenses/.github/workflows/mavenLicenseCheck.yml@master
with:
projectId: science.texlipse
secrets:
gitlabAPIToken: ${{ secrets.GITLAB_API_TOKEN }}
build:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4
- name: Set up JDK 17
uses: actions/setup-java@v4
with:
java-version: '17'
distribution: 'temurin'
- name: Set up Maven
uses: stCarolas/[email protected]
with:
maven-version: 3.9.0
- name: Cache local Maven repository
uses: actions/cache@v3
with:
path: ~/.m2/repository
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
restore-keys: |
${{ runner.os }}-maven-
- name: License check
run: |
mvn -U -V -e -B -ntp org.eclipse.dash:license-tool-plugin:license-check -Ddash.fail=false --file pom.xml

0 comments on commit 3860745

Please sign in to comment.