From 8635216376a1a8d37611df9e2bcdffb71d96ef86 Mon Sep 17 00:00:00 2001 From: Matthew Baggett Date: Sat, 18 May 2024 18:24:47 +0200 Subject: [PATCH] Output the detected php version. --- action.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/action.yml b/action.yml index 6273e12..7e075d2 100644 --- a/action.yml +++ b/action.yml @@ -13,6 +13,12 @@ inputs: description: "The PHP tools to install. Comma seperated list from shivammathur/setup-php" required: false default: "" + +outputs: + php_version: + description: "The PHP version detected from composer.json" + value: ${{ steps.read-php-version.outputs.php_version }} + runs: using: "composite" steps: