Add 25e1 EA builds.
This commit is contained in:
2
.github/workflows/ci.yml
vendored
2
.github/workflows/ci.yml
vendored
@@ -61,7 +61,7 @@ jobs:
|
|||||||
- java-version: 'latest-ea'
|
- java-version: 'latest-ea'
|
||||||
distribution: 'graalvm'
|
distribution: 'graalvm'
|
||||||
os: ubuntu-latest
|
os: ubuntu-latest
|
||||||
- java-version: '25-ea'
|
- java-version: '25e1-ea'
|
||||||
distribution: 'graalvm'
|
distribution: 'graalvm'
|
||||||
os: ubuntu-latest
|
os: ubuntu-latest
|
||||||
- java-version: '21'
|
- java-version: '21'
|
||||||
|
|||||||
@@ -92,7 +92,7 @@ jobs:
|
|||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
- uses: graalvm/setup-graalvm@v1
|
- uses: graalvm/setup-graalvm@v1
|
||||||
with:
|
with:
|
||||||
java-version: '26-ea' # or 'latest-ea' for the latest Java version available
|
java-version: '25e1-ea' # or 'latest-ea' for the latest Java version available
|
||||||
distribution: 'graalvm'
|
distribution: 'graalvm'
|
||||||
github-token: ${{ secrets.GITHUB_TOKEN }}
|
github-token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
```
|
```
|
||||||
@@ -194,7 +194,7 @@ This actions can be configured with the following options:
|
|||||||
|
|
||||||
| Name | Default | Description |
|
| Name | Default | Description |
|
||||||
|-----------------|:--------:|-------------|
|
|-----------------|:--------:|-------------|
|
||||||
| `java-version`<br>*(required)* | n/a | Java version <ul><li>major versions: `'25'`, `'21'`, `'17'`, `'11'`, `'8'`</li><li>specific versions: `'21.0.3'`, `'17.0.11'`</li><li>early access (EA) builds: `'26-ea'` *(requires `distribution: 'graalvm'`)*</li><li>latest EA build: `'latest-ea'` *(requires `distribution: 'graalvm'`)*</li><li>dev builds: `'dev'`</li></ul> |
|
| `java-version`<br>*(required)* | n/a | Java version <ul><li>major versions: `'25'`, `'21'`, `'17'`, `'11'`, `'8'`</li><li>specific versions: `'21.0.3'`, `'17.0.11'`</li><li>early access (EA) builds: `'25e1-ea'` *(requires `distribution: 'graalvm'`)*</li><li>latest EA build: `'latest-ea'` *(requires `distribution: 'graalvm'`)*</li><li>dev builds: `'dev'` *(requires `distribution: 'graalvm-community'`)*</li></ul> |
|
||||||
| `distribution` | `'graalvm'` | GraalVM distribution (see [supported distributions](#supported-distributions)) |
|
| `distribution` | `'graalvm'` | GraalVM distribution (see [supported distributions](#supported-distributions)) |
|
||||||
| `java-package` | `'jdk'` | The package type (`'jdk'` or `'jdk+fx'`). Currently applies to Liberica only. |
|
| `java-package` | `'jdk'` | The package type (`'jdk'` or `'jdk+fx'`). Currently applies to Liberica only. |
|
||||||
| `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. |
|
| `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. |
|
||||||
|
|||||||
@@ -92,7 +92,7 @@ describe('sbom feature', () => {
|
|||||||
})
|
})
|
||||||
|
|
||||||
it('should not throw an error when the java-version is supported', () => {
|
it('should not throw an error when the java-version is supported', () => {
|
||||||
const supported_versions = ['25', '26-ea', 'latest-ea']
|
const supported_versions = ['25', '25e1-ea', 'latest-ea']
|
||||||
for (const version of supported_versions) {
|
for (const version of supported_versions) {
|
||||||
expect(() => setUpSBOMSupport(version, distribution)).not.toThrow()
|
expect(() => setUpSBOMSupport(version, distribution)).not.toThrow()
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user