Skip to content

Commit

Permalink
Try with 'dev' instead and run 17 version test with logs
Browse files Browse the repository at this point in the history
  • Loading branch information
rudsberg committed Dec 4, 2024
1 parent e1c98d1 commit 2092d64
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 21 deletions.
42 changes: 21 additions & 21 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,22 +20,22 @@ jobs:
npm install
- run: |
npm run all
# test:
# name: GraalVM
# runs-on: ${{ matrix.os }}
# strategy:
# matrix:
# java-version: ['23', '21', '17', '20', 'dev']
# distribution: ['graalvm', 'graalvm-community']
# os: [
# ubuntu-latest,
# macos-latest, # macOS on Apple silicon
# macos-13, # macOS on Intel
# windows-latest
# ]
# set-gds-token: [false]
# components: ['']
# include:
test:
name: GraalVM
runs-on: ${{ matrix.os }}
strategy:
matrix:
java-version: ['23', '21', '17', '20', 'dev']
distribution: ['graalvm', 'graalvm-community']
os: [
ubuntu-latest,
macos-latest, # macOS on Apple silicon
macos-13, # macOS on Intel
windows-latest
]
set-gds-token: [false]
components: ['']
include:
# - java-version: 'latest-ea'
# distribution: 'graalvm'
# os: ubuntu-latest
Expand All @@ -59,10 +59,10 @@ jobs:
# distribution: 'graalvm'
# os: ubuntu-latest
# set-gds-token: true
# - java-version: '17.0.13'
# distribution: 'graalvm'
# os: ubuntu-latest
# set-gds-token: true
- java-version: '17.0.13'
distribution: 'graalvm'
os: ubuntu-latest
set-gds-token: true
# steps:
# - uses: actions/checkout@v4
# - name: Run setup-graalvm action
Expand Down Expand Up @@ -429,7 +429,7 @@ jobs:
- uses: actions/checkout@v4
- uses: ./
with:
java-version: 'latest-ea' # For some reason 'latest-ea' is not found on ubuntu and macos, https://github.com/rudsberg/setup-graalvm/actions/runs/12142968278/job/33858727921
java-version: 'dev' # For some reason 'latest-ea' is not found on ubuntu and macos, https://github.com/rudsberg/setup-graalvm/actions/runs/12142968278/job/33858727921
distribution: 'graalvm'
native-image-enable-sbom: 'true'
- name: Build Maven project and verify SBOM was generated
Expand Down
2 changes: 2 additions & 0 deletions dist/main/index.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions src/graalvm.ts
Original file line number Diff line number Diff line change
Expand Up @@ -187,6 +187,8 @@ async function downloadGraalVMJDK(
downloadUrl: string,
javaVersion: string
): Promise<string> {
console.log('Download URL: ' + downloadUrl)
console.log('java-version: ' + javaVersion)
try {
return await downloadTool(downloadUrl)
} catch (error) {
Expand Down

0 comments on commit 2092d64

Please sign in to comment.