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

@@ -1,6 +1,6 @@
name: 'GitHub Action for GraalVM'
description: 'Set up a specific version of GraalVM Community Edition (CE) or Enterprise Edition (EE)'
author: 'GraalVM Developers'
author: 'GraalVM Community'
branding:
icon: 'terminal'
color: 'blue'
@@ -26,10 +26,14 @@ inputs:
required: false
description: 'Set $JAVA_HOME to the GraalVM installation. Default: true.'
default: 'true'
cache:
description: 'Name of the build platform to cache dependencies. It can be "maven", "gradle", or "sbt".'
required: false
native-image-musl:
required: false
description: 'Set up musl for static image building with GraalVM Native Image.'
default: 'false'
runs:
using: 'node12'
main: 'dist/index.js'
using: 'node16'
main: 'dist/main/index.js'
post: 'dist/cleanup/index.js'