Skip to content

Commit

Permalink
Make Java version a parameter
Browse files Browse the repository at this point in the history
  • Loading branch information
akurtakov authored and HannesWell committed Mar 12, 2024
1 parent 6a691f2 commit 665f140
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/mavenLicenseCheck.yml
Expand Up @@ -39,6 +39,11 @@ on:
type: string
required: false
default: '3.9.6'
javaVersion:
description: 'The version of Java set up to run the license-check build'
type: string
required: false
default: '17'
secrets:
gitlabAPIToken:
description: 'The authentication token (scope: api) from gitlab.eclipse.org of the calling repository. Only required if license vetting is requested'
Expand Down Expand Up @@ -102,7 +107,7 @@ jobs:

- uses: actions/setup-java@v4
with:
java-version: '17'
java-version: ${{ inputs.javaVersion }}
distribution: 'temurin'
- name: Cache local Maven repository
uses: actions/cache@v4
Expand Down

0 comments on commit 665f140

Please sign in to comment.