mirror of
https://github.com/actions/setup-java.git
synced 2026-10-06 09:24:34 +03:00
Dont fail if jdkFile not set until checking cache
This commit is contained in:
1 parent
609f104c5b
commit
012e07621e
5 files changed
+11
-3
No files matched your search
+1
-1
@@ -6,7 +6,7 @@ async function run() {
|
||||
try {
|
||||
const version = core.getInput('version', {required: true});
|
||||
const arch = core.getInput('architecture', {required: true});
|
||||
const jdkFile = core.getInput('jdkFile', {required: true});
|
||||
const jdkFile = core.getInput('jdkFile', {required: false}) || '';
|
||||
|
||||
await installer.getJava(version, arch, jdkFile);
|
||||
|
||||
|
||||
Reference in new issue
Block a user