Commit Graph

77 Commits

Author SHA1 Message Date
43e870b2d0 Add highest alias as an alternative to latest 2024-01-01 01:26:40 +05:30
1a102bc9f2 Update utils.ts 2023-12-07 09:44:35 -06:00
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
a5fb328c6a Add support for reading PHP version from composer.lock or composer.json 2023-07-29 19:46:06 -04:00
0be6fa1958 Remove quotes after : in CSVArray 2023-06-12 15:27:21 +05:30
035ef490b9 Rename resolveVersion to readPHPversion 2023-04-02 20:30:40 +05:30
6bf279d08a Fix reading php version from file 2023-04-02 20:25:49 +05:30
f42145a164 Remove call to getManifestURL unless needed in utils.parseVersion 2023-01-29 21:53:23 +05:30
9c411b6e2b Minor refactor in utils.resolveVersion 2023-01-29 20:17:23 +05:30
b46c8e2a8c Move php version default out of action.yml and update inputs #629 #690 2023-01-29 16:23:08 +08:00
fd03521cb4 Support .php-version file; closes #629 2023-01-29 13:41:50 +08:00
cc0e576689 Update utils.ts 2023-01-27 22:12:33 +01:00
bbc65d999a Fix extension logs
Refactor utils.addCommand
2023-01-18 09:00:28 +05:30
3407e6019c Quote ini values with equal sign 2022-12-15 05:32:32 +05:30
050cb8061b Add coverage driver version in logs 2022-06-30 17:36:40 +05:30
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
5acd006232 Fix second run in the same job
Refactor install.ts and its tests
2022-01-30 08:45:11 +05:30
cad2a1bda3 Rename os_version => os 2022-01-29 05:29:58 +05:30
63c7766312 Remove unnecessary writing of scripts to RUNNER_TOOL_CACHE 2022-01-29 04:40:49 +05:30
a0a791cada Add ini_file input to set base php.ini 2022-01-25 13:43:49 +05:30
c38f1acc38 Fix potential exponential backtracking in regex in utils.parseExtensionSource 2022-01-22 02:25:58 +05:30
a274bd910a Fix to handle wrong pecl versions with hyphen 2021-12-08 04:56:29 +05:30
d068c17d9e Add support for nightly alias 2021-09-06 11:58:31 +05:30
b2d037d560 Add support to remove all shared extensions 2021-08-28 12:17:23 +05:30
8e80635955 Fix parsing extensions input if Zend OPcache is specified instead of opcache 2021-08-28 12:17:21 +05:30
4bb4f1812c Fix to make utils.readEnv more resilient to user input 2021-08-18 09:53:26 +05:30
09e08a3554 More fixes in fetching tool versions 2021-07-14 14:17:32 +05:30
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
39491a0fba Add authorization header to GitHub API call when COMPOSER_TOKEN is set 2021-07-07 22:40:05 +05:30
e1a9afe11c Add support to specify major or major.minor versions for tools with GitHub repository 2021-07-07 22:40:03 +05:30
6449431df2 Move tools config to tools.json
Refactor tools functions to use Records and object literals
2021-07-07 22:40:02 +05:30
7e5351f399 Do not lowercase source extension input
Fix warnings in parseExtensionSource in utils.ts

Fix add_lib_log in source.sh
2021-04-21 04:38:37 +05:30
fe944a16b5 Use EXTENSION_PATH to specify subdirectory in add_extension_from_source 2021-04-20 17:20:36 +05:30
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
fa18c2b29f Remove bintray from manifest and win32.ps1
Fix JIT ini values in win32.ps1
2021-02-23 14:34:03 +05:30
57c17e3349 Add support for pecl_http on Windows for PHP 7.1 to 8.0 2021-02-19 13:49:55 +05:30
912f27c42c Improve regex in utils.parseVersion 2021-02-19 13:49:39 +05:30
1686147b24 Do not quote ini values with error constants 2021-02-04 13:01:05 +05:30
fbc8407035 Add support to specify version in \d.x notation 2021-01-16 11:16:13 +05:30
6972aed899 Add support for quoted csv in ini-values 2021-01-15 13:52:18 +05:30
e5b90e33c6 Add support for coverage: xdebug2 2020-12-24 18:20:42 +05:30
466908db61 Set 8.0 as the latest version 2020-11-28 15:08:26 +05:30
f8e867a9ff Refactor install.ts 2020-10-15 14:16:18 +05:30
8cb01730c7 Prioritize with over env for inputs 2020-10-15 14:16:17 +05:30
ebba1db2c3 Add alias latest 2020-10-15 14:16:17 +05:30
188598ef9d Dry custom tools and extension code 2020-08-10 14:08:27 +05:30
cb25b9c13a Add support for protoc and grpc_php_plugin 2020-08-03 11:47:10 +05:30
2a7ae24c8e Dry extension code 2020-08-03 11:47:00 +05:30
0fae072f07 Refactor extensions.ts 2020-08-02 19:09:45 +05:30
52691651dc Add support for Xdebug3 on stable PHP 2020-06-22 07:33:14 +05:30