mirror of
https://github.com/graalvm/setup-graalvm.git
synced 2025-12-06 15:58:10 +08:00
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:
10
action.yml
10
action.yml
@@ -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'
|
||||
|
||||
Reference in New Issue
Block a user