Add Cache Hit Output

Cache hit was being used as stated in this pr
https://github.com/actions/setup-java/pull/275.
However, it was not included in the outputs of the action. It did not
cause any mayor issues, but if you were to lint the workflows, then an
output not defined error would pop up.
This Commit just adds the output to the list. Nothing more
This commit is contained in:
Gabriel Verdi 2022-08-23 14:08:37 +09:00
parent 5b36705a13
commit 3398bf8490

View file

@ -66,6 +66,8 @@ outputs:
description: 'Actual version of the java environment that has been installed'
path:
description: 'Path to where the java environment has been installed (same as $JAVA_HOME)'
cache-hit:
description: 'A boolean value to indicate an exact match was found for the primary key'
runs:
using: 'node16'
main: 'dist/setup/index.js'