Add support for dependency caching.

- Fork relevant bits from https://github.com/actions/setup-java
- Use Node.js 16
- Adjust packaging
- Update uuid and other dependencies

Closes #11
This commit is contained in:
Fabio Niephaus
2022-08-31 10:07:18 +02:00
parent c2b9039d01
commit f47d45565a
27 changed files with 140566 additions and 15577 deletions

View File

@@ -112,3 +112,7 @@ function toSemVer(version: string): string {
const patch = parts.length > 2 ? parts.slice(2).join('-') : '0'
return `${major}.${minor}.${patch}`
}
export function isJobStatusSuccess(): boolean {
return core.getInput(c.INPUT_JOB_STATUS) === 'success'
}