From a2b35c9a1ce1a79b8b0e611308832fd9a7881260 Mon Sep 17 00:00:00 2001 From: Fabio Niephaus Date: Thu, 22 Feb 2024 11:11:07 +0100 Subject: [PATCH] Turn descriptions for versions & distros into list. [ci skip] --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index e22faaf..7cbbef5 100644 --- a/README.md +++ b/README.md @@ -93,7 +93,7 @@ jobs: - uses: actions/checkout@v4 - uses: graalvm/setup-graalvm@v1 with: - java-version: '22-ea' # or 'latest-ea' for the newest Java version available + java-version: '22-ea' # or 'latest-ea' for the latest Java version available distribution: 'graalvm' github-token: ${{ secrets.GITHUB_TOKEN }} ``` @@ -187,8 +187,8 @@ can be replaced with: | Name | Default | Description | |-----------------|:--------:|-------------| -| `java-version`
*(required)* | n/a | `'21'` or `'17.0.7'` for a specific Java version, `'22-ea'` or `'latest-ea'` for an early access build based on JDK 22 or the newest Java version available (requires `distribution: 'graalvm'`), `'dev'` for a dev build with the latest Java version available.
(`'8'`, `'11'`, `'16'`, `'19'` are supported for older GraalVM releases.) | -| `distribution` | `''` | GraalVM distribution (`graalvm` for Oracle GraalVM, `graalvm-community` for GraalVM Community Edition, `mandrel` for Mandrel). | +| `java-version`
*(required)* | n/a | Java version | +| `distribution` | `'graalvm'` | GraalVM distribution | | `github-token` | `'${{ github.token }}'` | Token for communication with the GitHub API. Please set this to `${{ secrets.GITHUB_TOKEN }}` (see [templates](#templates)) to allow the action to authenticate with the GitHub API, which helps reduce rate-limiting issues. | | `set-java-home` | `'true'` | If set to `'true'`, instructs the action to set `$JAVA_HOME` to the path of the GraalVM installation. Overrides any previous action or command that sets `$JAVA_HOME`. | | `cache` | `''` | Name of the build platform to cache dependencies. Turned off by default (`''`). It can also be `'maven'`, `'gradle'`, or `'sbt'` and works the same way as described in [actions/setup-java][setup-java-caching]. |