From e3034b8b5fd01bdbb4dbdefab51d5f8107ce1c5c Mon Sep 17 00:00:00 2001 From: peterz Date: Mon, 4 Mar 2024 14:34:53 +0300 Subject: [PATCH] Removed mentions of 'version=core' --- .github/workflows/test.yml | 2 +- README.md | 2 +- __tests__/liberica.test.ts | 7 +------ 3 files changed, 3 insertions(+), 8 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 764172f..9e9c6c1 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -250,7 +250,7 @@ jobs: strategy: matrix: java-version: ['17', '21.0.2'] - version: ['core', 'full', 'std', ''] + version: ['', 'std', 'full'] os: [ubuntu-latest, macos-latest, windows-latest] steps: - uses: actions/checkout@v4 diff --git a/README.md b/README.md index 05d2996..e42ecae 100644 --- a/README.md +++ b/README.md @@ -197,7 +197,7 @@ can be replaced with: | `native-image-job-reports` *) | `'false'` | If set to `'true'`, post a job summary containing a Native Image build report. | | `native-image-pr-reports` *) | `'false'` | If set to `'true'`, post a comment containing a Native Image build report on pull requests. Requires `write` permissions for the [`pull-requests` scope][gha-permissions]. | | `components` | `''` | Comma-separated list of GraalVM components (e.g., `native-image` or `ruby,nodejs`) that will be installed by the [GraalVM Updater][gu]. | -| `version` | `''` | `X.Y.Z` (e.g., `22.3.0`) for a specific [GraalVM release][releases] up to `22.3.2`
`mandrel-X.Y.Z.W` or `X.Y.Z.W-Final` (e.g., `mandrel-21.3.0.0-Final` or `21.3.0.0-Final`) for a specific [Mandrel release][mandrel-releases],
`mandrel-latest` or `latest` for the latest Mandrel stable release,
`core`, `full`, `std` or empty for Liberica| +| `version` | `''` | `X.Y.Z` (e.g., `22.3.0`) for a specific [GraalVM release][releases] up to `22.3.2`
`mandrel-X.Y.Z.W` or `X.Y.Z.W-Final` (e.g., `mandrel-21.3.0.0-Final` or `21.3.0.0-Final`) for a specific [Mandrel release][mandrel-releases],
`mandrel-latest` or `latest` for the latest Mandrel stable release,
`std` (default) or `full` for Liberica| | `gds-token` | `''` | Download token for the GraalVM Download Service. If a non-empty token is provided, the action will set up GraalVM Enterprise Edition (see [GraalVM EE template](#template-for-graalvm-enterprise-edition)). | **) Make sure that Native Image is used only once per build job. Otherwise, the report is only generated for the last Native Image build.* diff --git a/__tests__/liberica.test.ts b/__tests__/liberica.test.ts index 48e8e1b..4396bf8 100644 --- a/__tests__/liberica.test.ts +++ b/__tests__/liberica.test.ts @@ -38,14 +38,9 @@ test('find latest JDK version', async () => { test('find asset URL', async () => { await expectURL('11.0.22+12', '', 'bellsoft-liberica-vm-openjdk11.0.22') await expectURL('17.0.10+13', 'std', 'bellsoft-liberica-vm-openjdk17.0.10') - await expectURL( - '21.0.2+14', - 'core', - 'bellsoft-liberica-vm-core-openjdk21.0.2' - ) if (!c.IS_LINUX) { - // This check can fail on Linux because there's no `full` version for aarch64 and musl + // This check can fail on Linux because there's no `full` version for aarch64 and/or musl await expectURL( '21.0.2+14', 'full',