Compare commits

...

2 Commits

Author SHA1 Message Date
Fabio Niephaus
53e44097d9 Add 25e1 EA builds. 2025-12-19 11:48:30 +01:00
Fabio Niephaus
13a63544a5 Replace macos-13 with macos-15-intel. 2025-12-19 11:48:30 +01:00
3 changed files with 7 additions and 7 deletions

View File

@@ -49,19 +49,19 @@ jobs:
ubuntu-latest, # Linux on Intel ubuntu-latest, # Linux on Intel
ubuntu-22.04-arm, # Linux on arm64 ubuntu-22.04-arm, # Linux on arm64
macos-latest, # macOS on Apple silicon macos-latest, # macOS on Apple silicon
macos-13, # macOS on Intel macos-15-intel, # macOS on Intel
windows-latest windows-latest
] ]
set-gds-token: [false] set-gds-token: [false]
components: [''] components: ['']
exclude: exclude:
- os: macos-13 - os: macos-15-intel
java-version: 'dev' java-version: 'dev'
include: include:
- 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'
@@ -144,7 +144,7 @@ jobs:
- version: '22.3.1' - version: '22.3.1'
java-version: '11' # for JDK 11 notification java-version: '11' # for JDK 11 notification
components: 'native-image' components: 'native-image'
os: macos-13 os: macos-15-intel
- version: '22.3.1' - version: '22.3.1'
java-version: '17' java-version: '17'
components: 'native-image' components: 'native-image'

View File

@@ -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. |

View File

@@ -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()
} }