Commit Graph

75 Commits

Author SHA1 Message Date
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
0be6fa1958
Remove quotes after : in CSVArray 2023-06-12 15:27:21 +05:30
Shivam Mathur
035ef490b9
Rename resolveVersion to readPHPversion 2023-04-02 20:30:40 +05:30
Shivam Mathur
6bf279d08a
Fix reading php version from file 2023-04-02 20:25:49 +05:30
Shivam Mathur
f42145a164
Remove call to getManifestURL unless needed in utils.parseVersion 2023-01-29 21:53:23 +05:30
Shivam Mathur
9c411b6e2b
Minor refactor in utils.resolveVersion 2023-01-29 20:17:23 +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
Viktor Ruskai
cc0e576689
Update utils.ts 2023-01-27 22:12:33 +01: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
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
c38f1acc38
Fix potential exponential backtracking in regex in utils.parseExtensionSource 2022-01-22 02:25:58 +05:30
Shivam Mathur
a274bd910a
Fix to handle wrong pecl versions with hyphen 2021-12-08 04:56:29 +05:30
Shivam Mathur
d068c17d9e
Add support for nightly alias 2021-09-06 11:58:31 +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
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
e1a9afe11c
Add support to specify major or major.minor versions for tools with GitHub repository 2021-07-07 22:40:03 +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
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
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
fa18c2b29f
Remove bintray from manifest and win32.ps1
Fix JIT ini values in win32.ps1
2021-02-23 14:34:03 +05:30
Shivam Mathur
57c17e3349
Add support for pecl_http on Windows for PHP 7.1 to 8.0 2021-02-19 13:49:55 +05:30
Shivam Mathur
912f27c42c
Improve regex in utils.parseVersion 2021-02-19 13:49:39 +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
e5b90e33c6
Add support for coverage: xdebug2 2020-12-24 18:20:42 +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
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
Shivam Mathur
0fae072f07
Refactor extensions.ts 2020-08-02 19:09:45 +05:30
Shivam Mathur
52691651dc
Add support for Xdebug3 on stable PHP 2020-06-22 07:33:14 +05:30
Shivam Mathur
d10d1e249b
Bump version to 2.2.0 2020-05-13 07:12:42 +05:30
Shivam Mathur
5c2618165a
Fetch blackfire latest versions 2020-05-12 19:32:03 +05:30