Skip to content

Commit

Permalink
Add jdkFile (#2)
Browse files Browse the repository at this point in the history
  • Loading branch information
ckeller-microstar authored and slawekjaranowski committed Dec 15, 2024
1 parent 232c434 commit 31c80e7
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ For default values you only need:
|-------------------|--------------|---------|
| java-version | java-version | 17 |
| java-distribution | distribution | zulu |
| java-jdkFile | jdkFile | |
## cache
Expand Down
5 changes: 5 additions & 0 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,10 @@ inputs:
default: 'zulu'
required: false

java-jdkFile:
description: 'Java JDK compressed file location'
required: false

# cache
cache-enabled:
description: 'Enable cache'
Expand Down Expand Up @@ -145,6 +149,7 @@ runs:
overwrite-settings: false
java-version: '${{ inputs.java-version }}'
distribution: '${{ inputs.java-distribution }}'
jdkFile: '${{ inputs.java-jdkFile }}'

- uses: actions/cache@1bd1e32a3bdc45362d1e726936510720a7c30a57 # v4.2.0
if: inputs.cache-enabled == 'true'
Expand Down

0 comments on commit 31c80e7

Please sign in to comment.