From fbe0d5904525739d169e3c2630143003abcf0991 Mon Sep 17 00:00:00 2001 From: Fabio Niephaus Date: Mon, 12 Dec 2022 21:29:30 +0100 Subject: [PATCH] Expose archive as output. --- action.yml | 3 +-- dist/action.yml | 3 +++ 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/action.yml b/action.yml index 7d2dd01..877eb5a 100644 --- a/action.yml +++ b/action.yml @@ -66,12 +66,11 @@ runs: native-image-musl: ${{ inputs.native-image-musl }} native-image-job-reports: ${{ inputs.native-image-job-reports }} native-image-pr-reports: ${{ inputs.native-image-pr-reports }} - mvn-settings-path: ${{ inputs.mvn-settings-path }} - name: 'Install Java Development Kit' uses: actions/setup-java@v3 with: java-version: ${{ inputs.java-version }} - distribution: jdkfile + distribution: 'jdkfile' jdkFile: ${{ steps.graalvm.outputs.archive }} cache: ${{ inputs.cache }} settings-path: ${{ inputs.mvn-settings-path }} diff --git a/dist/action.yml b/dist/action.yml index afcc8f6..14534ea 100644 --- a/dist/action.yml +++ b/dist/action.yml @@ -46,6 +46,9 @@ inputs: description: 'Post a comment containing a Native Image build report on pull requests.' default: 'false' outputs: + archive: + description: 'The path to the downloaded JDK archive file' + value: ${{ steps.download.outputs.archive }} cache-hit: description: 'A boolean value to indicate an exact match was found for the primary key' runs: