Compare commits
4 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
7df1333d2b | ||
|
|
9ef47bc1b1 | ||
|
|
bc3f3bc008 | ||
|
|
30e4da7ed2 |
693
package-lock.json
generated
693
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
22
package.json
22
package.json
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "cache-extensions",
|
"name": "cache-extensions",
|
||||||
"version": "1.3.2",
|
"version": "1.4.0",
|
||||||
"private": false,
|
"private": false,
|
||||||
"description": "Cache extensions in GitHub Actions",
|
"description": "Cache extensions in GitHub Actions",
|
||||||
"main": "dist/index.js",
|
"main": "dist/index.js",
|
||||||
@@ -28,22 +28,22 @@
|
|||||||
"@actions/exec": "^1.0.4"
|
"@actions/exec": "^1.0.4"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@types/jest": "^26.0.15",
|
"@types/jest": "^26.0.19",
|
||||||
"@types/node": "^14.14.10",
|
"@types/node": "^14.14.17",
|
||||||
"@typescript-eslint/eslint-plugin": "^4.8.2",
|
"@typescript-eslint/eslint-plugin": "^4.11.1",
|
||||||
"@typescript-eslint/parser": "^4.8.2",
|
"@typescript-eslint/parser": "^4.11.1",
|
||||||
"@zeit/ncc": "^0.22.3",
|
"@zeit/ncc": "^0.22.3",
|
||||||
"eslint": "^7.14.0",
|
"eslint": "^7.16.0",
|
||||||
"eslint-config-prettier": "^6.15.0",
|
"eslint-config-prettier": "^7.1.0",
|
||||||
"eslint-plugin-import": "^2.22.1",
|
"eslint-plugin-import": "^2.22.1",
|
||||||
"eslint-plugin-jest": "^24.1.3",
|
"eslint-plugin-jest": "^24.1.3",
|
||||||
"eslint-plugin-prettier": "^3.1.4",
|
"eslint-plugin-prettier": "^3.3.0",
|
||||||
"husky": "^4.3.0",
|
"husky": "^4.3.6",
|
||||||
"jest": "^26.6.3",
|
"jest": "^26.6.3",
|
||||||
"jest-circus": "^26.6.3",
|
"jest-circus": "^26.6.3",
|
||||||
"prettier": "^2.2.0",
|
"prettier": "^2.2.1",
|
||||||
"ts-jest": "^26.4.4",
|
"ts-jest": "^26.4.4",
|
||||||
"typescript": "^4.1.2"
|
"typescript": "^4.1.3"
|
||||||
},
|
},
|
||||||
"husky": {
|
"husky": {
|
||||||
"skipCI": true,
|
"skipCI": true,
|
||||||
|
|||||||
@@ -1,10 +1,8 @@
|
|||||||
linux_extension_dir() {
|
linux_extension_dir() {
|
||||||
apiv=$1
|
apiv=$1
|
||||||
if [ "$version" = "5.3" ]; then
|
if [[ "$version" =~ $old_versions ]]; then
|
||||||
echo "/home/runner/php/5.3.29/lib/php/extensions/no-debug-non-zts-$apiv"
|
|
||||||
elif [[ "$version" =~ $old_versions ]]; then
|
|
||||||
echo "/usr/lib/php5/$apiv"
|
echo "/usr/lib/php5/$apiv"
|
||||||
elif [[ "$version" =~ $nightly_versions ]]; then
|
elif [[ "$version" =~ 5.3|$nightly_versions ]]; then
|
||||||
echo "/usr/local/php/$version/lib/php/extensions/no-debug-non-zts-$apiv"
|
echo "/usr/local/php/$version/lib/php/extensions/no-debug-non-zts-$apiv"
|
||||||
else
|
else
|
||||||
echo "/usr/lib/php/$apiv"
|
echo "/usr/lib/php/$apiv"
|
||||||
@@ -17,7 +15,11 @@ darwin_extension_dir() {
|
|||||||
if [[ "$version" =~ $old_versions_darwin ]]; then
|
if [[ "$version" =~ $old_versions_darwin ]]; then
|
||||||
echo "/opt/local/lib/php${version/./}/extensions/no-debug-non-zts-$apiv"
|
echo "/opt/local/lib/php${version/./}/extensions/no-debug-non-zts-$apiv"
|
||||||
else
|
else
|
||||||
echo "/usr/local/lib/php/pecl/$apiv"
|
if [[ "$(sysctl -n hw.optional.arm64 2>/dev/null)" = "1" ]]; then
|
||||||
|
echo "/opt/homebrew/lib/php/pecl/$apiv"
|
||||||
|
else
|
||||||
|
echo "/usr/local/lib/php/pecl/$apiv"
|
||||||
|
fi
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -74,7 +76,7 @@ key=$2
|
|||||||
version=$3
|
version=$3
|
||||||
os=$(uname -s)
|
os=$(uname -s)
|
||||||
old_versions="5.[4-5]"
|
old_versions="5.[4-5]"
|
||||||
nightly_versions="8.[0-1]"
|
nightly_versions="8.[1-9]"
|
||||||
if [ "$os" = "Linux" ]; then
|
if [ "$os" = "Linux" ]; then
|
||||||
release=$(lsb_release -s -c)
|
release=$(lsb_release -s -c)
|
||||||
os=$os-$release
|
os=$os-$release
|
||||||
@@ -91,6 +93,6 @@ else
|
|||||||
dir='C:\\tools\\php\\ext'
|
dir='C:\\tools\\php\\ext'
|
||||||
fi
|
fi
|
||||||
key="$os"-ext-"$version"-$(echo -n "$extensions-$key" | openssl dgst -sha256 | cut -d ' ' -f 2)
|
key="$os"-ext-"$version"-$(echo -n "$extensions-$key" | openssl dgst -sha256 | cut -d ' ' -f 2)
|
||||||
key="$key-20201126"
|
key="$key-20201231"
|
||||||
echo "::set-output name=dir::$dir"
|
echo "::set-output name=dir::$dir"
|
||||||
echo "::set-output name=key::$key"
|
echo "::set-output name=key::$key"
|
||||||
@@ -1,4 +1,5 @@
|
|||||||
[PHP Modules]
|
[PHP Modules]
|
||||||
|
amqp
|
||||||
apc
|
apc
|
||||||
apcu
|
apcu
|
||||||
bcmath
|
bcmath
|
||||||
@@ -9,22 +10,28 @@ cubrid
|
|||||||
curl
|
curl
|
||||||
date
|
date
|
||||||
dom
|
dom
|
||||||
|
enchant
|
||||||
ereg
|
ereg
|
||||||
exif
|
exif
|
||||||
fileinfo
|
fileinfo
|
||||||
filter
|
filter
|
||||||
ftp
|
ftp
|
||||||
gd
|
gd
|
||||||
|
gettext
|
||||||
|
gmp
|
||||||
hash
|
hash
|
||||||
iconv
|
iconv
|
||||||
ioncube
|
ioncube
|
||||||
intl
|
intl
|
||||||
json
|
json
|
||||||
|
ldap
|
||||||
libxml
|
libxml
|
||||||
mbstring
|
mbstring
|
||||||
mcrypt
|
mcrypt
|
||||||
|
memcache
|
||||||
memcached
|
memcached
|
||||||
mongo
|
mongo
|
||||||
|
mongodb
|
||||||
mysql
|
mysql
|
||||||
mysqli
|
mysqli
|
||||||
mysqlnd
|
mysqlnd
|
||||||
@@ -36,9 +43,12 @@ PDO
|
|||||||
oci8
|
oci8
|
||||||
PDO_OCI
|
PDO_OCI
|
||||||
pdo_mysql
|
pdo_mysql
|
||||||
|
pdo_pgsql
|
||||||
pdo_sqlite
|
pdo_sqlite
|
||||||
|
pgsql
|
||||||
Phar
|
Phar
|
||||||
posix
|
posix
|
||||||
|
pspell
|
||||||
readline
|
readline
|
||||||
redis
|
redis
|
||||||
Reflection
|
Reflection
|
||||||
@@ -69,4 +79,3 @@ blackfire
|
|||||||
|
|
||||||
[Zend Modules]
|
[Zend Modules]
|
||||||
Xdebug
|
Xdebug
|
||||||
|
|
||||||
|
|||||||
@@ -89,4 +89,3 @@ blackfire
|
|||||||
[Zend Modules]
|
[Zend Modules]
|
||||||
Xdebug
|
Xdebug
|
||||||
Zend OPcache
|
Zend OPcache
|
||||||
|
|
||||||
|
|||||||
@@ -1,4 +1,6 @@
|
|||||||
[PHP Modules]
|
[PHP Modules]
|
||||||
|
amqp
|
||||||
|
apcu
|
||||||
bcmath
|
bcmath
|
||||||
bz2
|
bz2
|
||||||
calendar
|
calendar
|
||||||
@@ -8,6 +10,7 @@ curl
|
|||||||
date
|
date
|
||||||
dba
|
dba
|
||||||
dom
|
dom
|
||||||
|
enchant
|
||||||
exif
|
exif
|
||||||
FFI
|
FFI
|
||||||
fileinfo
|
fileinfo
|
||||||
@@ -18,37 +21,43 @@ gettext
|
|||||||
gmp
|
gmp
|
||||||
hash
|
hash
|
||||||
iconv
|
iconv
|
||||||
ioncube
|
igbinary
|
||||||
|
imap
|
||||||
intl
|
intl
|
||||||
json
|
json
|
||||||
ldap
|
ldap
|
||||||
libxml
|
libxml
|
||||||
mbstring
|
mbstring
|
||||||
|
memcache
|
||||||
|
memcached
|
||||||
|
mongodb
|
||||||
|
msgpack
|
||||||
mysqli
|
mysqli
|
||||||
mysqlnd
|
mysqlnd
|
||||||
odbc
|
odbc
|
||||||
openssl
|
openssl
|
||||||
pcntl
|
pcntl
|
||||||
pcov
|
|
||||||
pcre
|
pcre
|
||||||
PDO
|
PDO
|
||||||
oci8
|
oci8
|
||||||
PDO_OCI
|
PDO_OCI
|
||||||
pdo_dblib
|
pdo_dblib
|
||||||
|
PDO_Firebird
|
||||||
pdo_mysql
|
pdo_mysql
|
||||||
PDO_ODBC
|
PDO_ODBC
|
||||||
pdo_pgsql
|
pdo_pgsql
|
||||||
pdo_sqlite
|
pdo_sqlite
|
||||||
pgsql
|
pgsql
|
||||||
Phar
|
Phar
|
||||||
phpdbg_webhelper
|
|
||||||
posix
|
posix
|
||||||
pspell
|
pspell
|
||||||
readline
|
readline
|
||||||
|
redis
|
||||||
Reflection
|
Reflection
|
||||||
session
|
session
|
||||||
shmop
|
shmop
|
||||||
SimpleXML
|
SimpleXML
|
||||||
|
snmp
|
||||||
soap
|
soap
|
||||||
sockets
|
sockets
|
||||||
sodium
|
sodium
|
||||||
@@ -65,13 +74,16 @@ xml
|
|||||||
xmlreader
|
xmlreader
|
||||||
xmlwriter
|
xmlwriter
|
||||||
xsl
|
xsl
|
||||||
|
yaml
|
||||||
Zend OPcache
|
Zend OPcache
|
||||||
zip
|
zip
|
||||||
zlib
|
zlib
|
||||||
|
zmq
|
||||||
|
ioncube
|
||||||
phalcon3
|
phalcon3
|
||||||
phalcon4
|
phalcon4
|
||||||
blackfire
|
blackfire
|
||||||
|
|
||||||
[Zend Modules]
|
[Zend Modules]
|
||||||
Zend OPcache
|
|
||||||
Xdebug
|
Xdebug
|
||||||
|
Zend OPcache
|
||||||
|
|||||||
@@ -1,4 +1,5 @@
|
|||||||
[PHP Modules]
|
[PHP Modules]
|
||||||
|
amqp
|
||||||
apc
|
apc
|
||||||
apcu
|
apcu
|
||||||
bcmath
|
bcmath
|
||||||
@@ -9,34 +10,47 @@ cubrid
|
|||||||
curl
|
curl
|
||||||
date
|
date
|
||||||
dom
|
dom
|
||||||
|
enchant
|
||||||
ereg
|
ereg
|
||||||
exif
|
exif
|
||||||
fileinfo
|
fileinfo
|
||||||
filter
|
filter
|
||||||
ftp
|
ftp
|
||||||
gd
|
gd
|
||||||
|
gettext
|
||||||
|
gmp
|
||||||
hash
|
hash
|
||||||
iconv
|
iconv
|
||||||
ioncube
|
ioncube
|
||||||
intl
|
intl
|
||||||
json
|
json
|
||||||
|
ldap
|
||||||
libxml
|
libxml
|
||||||
mbstring
|
mbstring
|
||||||
mcrypt
|
mcrypt
|
||||||
|
memcache
|
||||||
|
memcached
|
||||||
|
mongo
|
||||||
|
mongodb
|
||||||
mysql
|
mysql
|
||||||
mysqli
|
mysqli
|
||||||
mysqlnd
|
mysqlnd
|
||||||
openssl
|
openssl
|
||||||
pcntl
|
pcntl
|
||||||
|
pcov
|
||||||
pcre
|
pcre
|
||||||
PDO
|
PDO
|
||||||
oci8
|
oci8
|
||||||
PDO_OCI
|
PDO_OCI
|
||||||
pdo_mysql
|
pdo_mysql
|
||||||
|
pdo_pgsql
|
||||||
pdo_sqlite
|
pdo_sqlite
|
||||||
|
pgsql
|
||||||
Phar
|
Phar
|
||||||
posix
|
posix
|
||||||
|
pspell
|
||||||
readline
|
readline
|
||||||
|
redis
|
||||||
Reflection
|
Reflection
|
||||||
session
|
session
|
||||||
shmop
|
shmop
|
||||||
@@ -65,4 +79,3 @@ blackfire
|
|||||||
|
|
||||||
[Zend Modules]
|
[Zend Modules]
|
||||||
Xdebug
|
Xdebug
|
||||||
|
|
||||||
|
|||||||
@@ -24,7 +24,7 @@ hash
|
|||||||
iconv
|
iconv
|
||||||
igbinary
|
igbinary
|
||||||
imape
|
imape
|
||||||
ioncub
|
ioncube
|
||||||
intl
|
intl
|
||||||
json
|
json
|
||||||
ldap
|
ldap
|
||||||
|
|||||||
@@ -1,4 +1,6 @@
|
|||||||
[PHP Modules]
|
[PHP Modules]
|
||||||
|
amqp
|
||||||
|
apcu
|
||||||
bcmath
|
bcmath
|
||||||
bz2
|
bz2
|
||||||
calendar
|
calendar
|
||||||
@@ -8,6 +10,7 @@ curl
|
|||||||
date
|
date
|
||||||
dba
|
dba
|
||||||
dom
|
dom
|
||||||
|
enchant
|
||||||
exif
|
exif
|
||||||
FFI
|
FFI
|
||||||
fileinfo
|
fileinfo
|
||||||
@@ -18,37 +21,43 @@ gettext
|
|||||||
gmp
|
gmp
|
||||||
hash
|
hash
|
||||||
iconv
|
iconv
|
||||||
ioncube
|
igbinary
|
||||||
|
imap
|
||||||
intl
|
intl
|
||||||
json
|
json
|
||||||
ldap
|
ldap
|
||||||
libxml
|
libxml
|
||||||
mbstring
|
mbstring
|
||||||
|
memcache
|
||||||
|
memcached
|
||||||
|
mongodb
|
||||||
|
msgpack
|
||||||
mysqli
|
mysqli
|
||||||
mysqlnd
|
mysqlnd
|
||||||
odbc
|
odbc
|
||||||
openssl
|
openssl
|
||||||
pcntl
|
pcntl
|
||||||
pcov
|
|
||||||
pcre
|
pcre
|
||||||
PDO
|
PDO
|
||||||
oci8
|
oci8
|
||||||
PDO_OCI
|
PDO_OCI
|
||||||
pdo_dblib
|
pdo_dblib
|
||||||
|
PDO_Firebird
|
||||||
pdo_mysql
|
pdo_mysql
|
||||||
PDO_ODBC
|
PDO_ODBC
|
||||||
pdo_pgsql
|
pdo_pgsql
|
||||||
pdo_sqlite
|
pdo_sqlite
|
||||||
pgsql
|
pgsql
|
||||||
Phar
|
Phar
|
||||||
phpdbg_webhelper
|
|
||||||
posix
|
posix
|
||||||
pspell
|
pspell
|
||||||
readline
|
readline
|
||||||
|
redis
|
||||||
Reflection
|
Reflection
|
||||||
session
|
session
|
||||||
shmop
|
shmop
|
||||||
SimpleXML
|
SimpleXML
|
||||||
|
snmp
|
||||||
soap
|
soap
|
||||||
sockets
|
sockets
|
||||||
sodium
|
sodium
|
||||||
@@ -65,13 +74,16 @@ xml
|
|||||||
xmlreader
|
xmlreader
|
||||||
xmlwriter
|
xmlwriter
|
||||||
xsl
|
xsl
|
||||||
|
yaml
|
||||||
Zend OPcache
|
Zend OPcache
|
||||||
zip
|
zip
|
||||||
zlib
|
zlib
|
||||||
|
zmq
|
||||||
|
ioncube
|
||||||
phalcon3
|
phalcon3
|
||||||
phalcon4
|
phalcon4
|
||||||
blackfire
|
blackfire
|
||||||
|
|
||||||
[Zend Modules]
|
[Zend Modules]
|
||||||
Zend OPcache
|
|
||||||
Xdebug
|
Xdebug
|
||||||
|
Zend OPcache
|
||||||
|
|||||||
@@ -1,4 +1,5 @@
|
|||||||
[PHP Modules]
|
[PHP Modules]
|
||||||
|
amqp
|
||||||
apc
|
apc
|
||||||
apcu
|
apcu
|
||||||
bcmath
|
bcmath
|
||||||
@@ -9,35 +10,45 @@ cubrid
|
|||||||
curl
|
curl
|
||||||
date
|
date
|
||||||
dom
|
dom
|
||||||
|
enchant
|
||||||
ereg
|
ereg
|
||||||
exif
|
exif
|
||||||
fileinfo
|
fileinfo
|
||||||
filter
|
filter
|
||||||
ftp
|
ftp
|
||||||
gd
|
gd
|
||||||
|
gettext
|
||||||
|
gmp
|
||||||
hash
|
hash
|
||||||
iconv
|
iconv
|
||||||
ioncube
|
ioncube
|
||||||
intl
|
intl
|
||||||
json
|
json
|
||||||
|
ldap
|
||||||
libxml
|
libxml
|
||||||
mbstring
|
mbstring
|
||||||
mcrypt
|
mcrypt
|
||||||
|
memcache
|
||||||
memcached
|
memcached
|
||||||
mongo
|
mongo
|
||||||
|
mongodb
|
||||||
mysql
|
mysql
|
||||||
mysqli
|
mysqli
|
||||||
mysqlnd
|
mysqlnd
|
||||||
openssl
|
openssl
|
||||||
pcntl
|
pcntl
|
||||||
|
pcov
|
||||||
pcre
|
pcre
|
||||||
PDO
|
PDO
|
||||||
oci8
|
oci8
|
||||||
PDO_OCI
|
PDO_OCI
|
||||||
pdo_mysql
|
pdo_mysql
|
||||||
|
pdo_pgsql
|
||||||
pdo_sqlite
|
pdo_sqlite
|
||||||
|
pgsql
|
||||||
Phar
|
Phar
|
||||||
posix
|
posix
|
||||||
|
pspell
|
||||||
readline
|
readline
|
||||||
redis
|
redis
|
||||||
Reflection
|
Reflection
|
||||||
@@ -68,4 +79,3 @@ blackfire
|
|||||||
|
|
||||||
[Zend Modules]
|
[Zend Modules]
|
||||||
Xdebug
|
Xdebug
|
||||||
|
|
||||||
|
|||||||
@@ -1,4 +1,6 @@
|
|||||||
[PHP Modules]
|
[PHP Modules]
|
||||||
|
amqp
|
||||||
|
apcu
|
||||||
bcmath
|
bcmath
|
||||||
bz2
|
bz2
|
||||||
calendar
|
calendar
|
||||||
@@ -8,6 +10,7 @@ curl
|
|||||||
date
|
date
|
||||||
dba
|
dba
|
||||||
dom
|
dom
|
||||||
|
enchant
|
||||||
exif
|
exif
|
||||||
FFI
|
FFI
|
||||||
fileinfo
|
fileinfo
|
||||||
@@ -18,37 +21,43 @@ gettext
|
|||||||
gmp
|
gmp
|
||||||
hash
|
hash
|
||||||
iconv
|
iconv
|
||||||
ioncube
|
igbinary
|
||||||
|
imap
|
||||||
intl
|
intl
|
||||||
json
|
json
|
||||||
ldap
|
ldap
|
||||||
libxml
|
libxml
|
||||||
mbstring
|
mbstring
|
||||||
|
memcache
|
||||||
|
memcached
|
||||||
|
mongodb
|
||||||
|
msgpack
|
||||||
mysqli
|
mysqli
|
||||||
mysqlnd
|
mysqlnd
|
||||||
odbc
|
odbc
|
||||||
openssl
|
openssl
|
||||||
pcntl
|
pcntl
|
||||||
pcov
|
|
||||||
pcre
|
pcre
|
||||||
PDO
|
PDO
|
||||||
oci8
|
oci8
|
||||||
PDO_OCI
|
PDO_OCI
|
||||||
pdo_dblib
|
pdo_dblib
|
||||||
|
PDO_Firebird
|
||||||
pdo_mysql
|
pdo_mysql
|
||||||
PDO_ODBC
|
PDO_ODBC
|
||||||
pdo_pgsql
|
pdo_pgsql
|
||||||
pdo_sqlite
|
pdo_sqlite
|
||||||
pgsql
|
pgsql
|
||||||
Phar
|
Phar
|
||||||
phpdbg_webhelper
|
|
||||||
posix
|
posix
|
||||||
pspell
|
pspell
|
||||||
readline
|
readline
|
||||||
|
redis
|
||||||
Reflection
|
Reflection
|
||||||
session
|
session
|
||||||
shmop
|
shmop
|
||||||
SimpleXML
|
SimpleXML
|
||||||
|
snmp
|
||||||
soap
|
soap
|
||||||
sockets
|
sockets
|
||||||
sodium
|
sodium
|
||||||
@@ -65,13 +74,16 @@ xml
|
|||||||
xmlreader
|
xmlreader
|
||||||
xmlwriter
|
xmlwriter
|
||||||
xsl
|
xsl
|
||||||
|
yaml
|
||||||
Zend OPcache
|
Zend OPcache
|
||||||
zip
|
zip
|
||||||
zlib
|
zlib
|
||||||
|
zmq
|
||||||
|
ioncube
|
||||||
phalcon3
|
phalcon3
|
||||||
phalcon4
|
phalcon4
|
||||||
blackfire
|
blackfire
|
||||||
|
|
||||||
[Zend Modules]
|
[Zend Modules]
|
||||||
Zend OPcache
|
|
||||||
Xdebug
|
Xdebug
|
||||||
|
Zend OPcache
|
||||||
|
|||||||
Reference in New Issue
Block a user