Expose archive as output.

This commit is contained in:
Fabio Niephaus 2022-12-12 21:29:30 +01:00
parent fdc358a29f
commit fbe0d59045
No known key found for this signature in database
GPG Key ID: F21CF5275F31DFD6
2 changed files with 4 additions and 2 deletions

View File

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

3
dist/action.yml generated vendored
View File

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