Shivam Mathur
75fa893d48
Improve parsing .php-version and tests
2026-09-17 20:53:52 +05:30
Sviatoslav Abakumov and Shivam Mathur
0bbee91078
Support all valid PHP version file values ( #1121 )
...
* Support all valid PHP version file values
Allow version files to use partial versions and aliases accepted by the
php-version input while preserving support for both plain .php-version
files and asdf-style php entries.
* Regenerate bundled action
---------
Co-authored-by: Shivam Mathur <shivam_jpr@hotmail.com >
2026-09-17 20:17:54 +05:30
Shivam Mathur
3ad6232c89
Preserve PowerShell return values in verbose mode
2026-09-12 00:32:55 +05:30
Shivam Mathur
250924180e
Add configurable verbosity and guarded shell tracing
2026-09-10 01:29:39 +05:30
Shivam Mathur
5825be4b77
Harden environment lookup
2026-05-18 00:56:40 +05:30
Shivam Mathur
eeef37e059
GHSA-pqwm-q9pv-ph8r - Fix CWE-78 [skip ci]
2026-05-14 08:58:36 +05:30
Shivam Mathur
106fd0866c
Strip backslash line continuation from extension inputs
2026-03-29 20:46:19 +05:30
Shivam Mathur
109ae4d1c0
Reduce bundle size
...
Replace @actions/core with local functions
@actions/core is unmaintained and poorly designed for projects that just need basic functions
2026-01-20 07:47:23 +05:30
Shivam Mathur
b595b415e2
Add fallback for the manifest URL
2025-05-19 08:09:13 +05:30
Shivam Mathur
b6d8115f12
Add support for .tool-versions format in php-version-file
2024-12-23 15:27:22 +05:30
Shivam Mathur
7f1cfc01ec
Bump version to 2.32.0
...
Update Node.js dependencies
Migrate eslint config to a mjs file
Fix imports in tests
Bump to Node.js 20.x in workflows
2024-11-04 08:55:26 +05:30
Jason Gill
95916a72b1
Only use config.platform.php, as it's guaranteed to be the required version of PHP
2023-07-29 19:48:28 -04:00
Jason Gill
a5fb328c6a
Add support for reading PHP version from composer.lock or composer.json
2023-07-29 19:46:06 -04:00
Shivam Mathur
948bd8df3c
Fix fs import in utlts.test.ts
2023-06-12 17:14:07 +05:30
Shivam Mathur
035ef490b9
Rename resolveVersion to readPHPversion
2023-04-02 20:30:40 +05:30
Steve Lacey
b46c8e2a8c
Move php version default out of action.yml and update inputs #629 #690
2023-01-29 16:23:08 +08:00
Steve Lacey
fd03521cb4
Support .php-version file; closes #629
2023-01-29 13:41:50 +08:00
Shivam Mathur
bbc65d999a
Fix extension logs
...
Refactor utils.addCommand
2023-01-18 09:00:28 +05:30
Shivam Mathur
3407e6019c
Quote ini values with equal sign
2022-12-15 05:32:32 +05:30
Shivam Mathur
050cb8061b
Add coverage driver version in logs
2022-06-30 17:36:40 +05:30
Shivam Mathur
4dc94c27cf
Refactor utils.fetch to a module and mock it with nock
...
Add redirect support in utils.fetch
2022-02-06 10:53:40 +05:30
Shivam Mathur
5acd006232
Fix second run in the same job
...
Refactor install.ts and its tests
2022-01-30 08:45:11 +05:30
Shivam Mathur
5187531b8b
Fix eslint warning in utils.test.ts
2022-01-29 07:30:16 +05:30
Shivam Mathur
cad2a1bda3
Rename os_version => os
2022-01-29 05:29:58 +05:30
Shivam Mathur
63c7766312
Remove unnecessary writing of scripts to RUNNER_TOOL_CACHE
2022-01-29 04:40:49 +05:30
Shivam Mathur
a0a791cada
Add ini_file input to set base php.ini
2022-01-25 13:43:49 +05:30
Shivam Mathur
4c5c122aa6
PHP 8.1 is now stable and marked as default version
2021-11-25 17:34:13 +05:30
Shivam Mathur
b2d037d560
Add support to remove all shared extensions
2021-08-28 12:17:23 +05:30
Shivam Mathur
8e80635955
Fix parsing extensions input if Zend OPcache is specified instead of opcache
2021-08-28 12:17:21 +05:30
Shivam Mathur
4bb4f1812c
Fix to make utils.readEnv more resilient to user input
2021-08-18 09:53:26 +05:30
Shivam Mathur
a3727c20a4
Bump version to 2.12.0
...
Update Node.js dependencies
2021-07-14 14:38:18 +05:30
Shivam Mathur
09e08a3554
More fixes in fetching tool versions
2021-07-14 14:17:32 +05:30
Shivam Mathur
14fa980966
Improve error handling in utils.fetch and its uses
...
Minor fixes in tests
Revert to ES2019
2021-07-09 11:26:38 +05:30
Shivam Mathur
39491a0fba
Add authorization header to GitHub API call when COMPOSER_TOKEN is set
2021-07-07 22:40:05 +05:30
Shivam Mathur
6449431df2
Move tools config to tools.json
...
Refactor tools functions to use Records and object literals
2021-07-07 22:40:02 +05:30
Shivam Mathur
55ab748aaa
Update dependencies
...
Update to Jest 27
Set sourceMap to true in tsconfig.json
2021-06-04 21:34:31 +05:30
Shivam Mathur
fe944a16b5
Use EXTENSION_PATH to specify subdirectory in add_extension_from_source
2021-04-20 17:20:36 +05:30
Shivam Mathur
b3152daa8d
Add support for any git repository to compile extension from source
...
Add support for extensions in a subdirectory to compile from source
2021-04-15 16:54:32 +05:30
Shivam Mathur
1686147b24
Do not quote ini values with error constants
2021-02-04 13:01:05 +05:30
Shivam Mathur
fbc8407035
Add support to specify version in \d.x notation
2021-01-16 11:16:13 +05:30
Shivam Mathur
6972aed899
Add support for quoted csv in ini-values
2021-01-15 13:52:18 +05:30
Shivam Mathur
d0677c93b9
Bump version to 2.9.0
2020-11-28 15:08:27 +05:30
Shivam Mathur
466908db61
Set 8.0 as the latest version
2020-11-28 15:08:26 +05:30
Shivam Mathur
f8e867a9ff
Refactor install.ts
2020-10-15 14:16:18 +05:30
Shivam Mathur
8cb01730c7
Prioritize with over env for inputs
2020-10-15 14:16:17 +05:30
Shivam Mathur
ebba1db2c3
Add alias latest
2020-10-15 14:16:17 +05:30
Shivam Mathur
9457ce6e2b
Replace fedora with valid platform name
2020-09-06 19:29:34 +05:30
Shivam Mathur
188598ef9d
Dry custom tools and extension code
2020-08-10 14:08:27 +05:30
Shivam Mathur
cb25b9c13a
Add support for protoc and grpc_php_plugin
2020-08-03 11:47:10 +05:30
Shivam Mathur
2a7ae24c8e
Dry extension code
2020-08-03 11:47:00 +05:30