mirror of
https://github.com/actions/setup-java.git
synced 2025-06-30 21:04:16 +00:00
Add validation for post step (#3)
* work on fixing cache post step * fix tests
This commit is contained in:
parent
5f3f74c689
commit
53f73ba16b
6 changed files with 31 additions and 4 deletions
|
@ -69,3 +69,9 @@ export function getToolcachePath(toolName: string, version: string, architecture
|
|||
|
||||
return null;
|
||||
}
|
||||
|
||||
export function isJobStatusSuccess() {
|
||||
const jobStatus = core.getInput('job-status');
|
||||
|
||||
return jobStatus === 'success';
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue