From 292efdb90260eb839ef93455d6da2a50f6cedc35 Mon Sep 17 00:00:00 2001 From: Jacob Ransom Date: Thu, 6 Aug 2026 11:31:20 +1200 Subject: [PATCH] Add matomo6_min_php and matomo6_max_php PHP version aliases --- README.md | 2 +- action.yml | 6 ++++++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index c4c668b..dfa3d19 100644 --- a/README.md +++ b/README.md @@ -53,7 +53,7 @@ This action is able to run certain test suites for Matomo or any Matomo plugin. Defines the PHP version to set up for testing. (Not needed for Client tests) - Use `matomo5_min_php` or `matomo5_max_php` to resolve to the centrally managed (defined in action.yml) minimum or maximum PHP versions supported by Matomo tests. + Use `matomo5_min_php`/`matomo5_max_php` (Matomo 5) or `matomo6_min_php`/`matomo6_max_php` (Matomo 6) to resolve to the centrally managed (defined in action.yml) minimum or maximum PHP versions supported by Matomo tests. The action uses `shivammathur/setup-php` to set up PHP. You can find supported PHP versions here: https://github.com/shivammathur/setup-php#tada-php-support diff --git a/action.yml b/action.yml index b65c531..bdbf78a 100644 --- a/action.yml +++ b/action.yml @@ -202,6 +202,12 @@ runs: matomo5_max_php) RESOLVED_VERSION="8.5" ;; + matomo6_min_php) + RESOLVED_VERSION="8.1" + ;; + matomo6_max_php) + RESOLVED_VERSION="8.5" + ;; '') exit 0 ;;