From 3398bf8490faaf6685a8b2143e28070ca25f68f1 Mon Sep 17 00:00:00 2001 From: Gabriel Verdi Date: Tue, 23 Aug 2022 14:08:37 +0900 Subject: [PATCH] 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 --- action.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/action.yml b/action.yml index ec05f65ab..8a7214b40 100644 --- a/action.yml +++ b/action.yml @@ -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'