4 Commits
1.1.1 ... 1.1.3

Author SHA1 Message Date
Shivam Mathur
4db45d6171 Merge pull request #14 from shivammathur/develop
1.1.3
2020-08-10 12:39:37 +05:30
Shivam Mathur
7045a9c4c7 Add cubrid to the lists
Update README

Bump version to 1.1.3
2020-08-10 12:22:10 +05:30
Shivam Mathur
506984d835 Merge pull request #13 from shivammathur/develop
1.1.2
2020-08-04 06:50:24 +05:30
Shivam Mathur
f94c56d97f Change PHP 8.0 prefix for linux
Update extension lists

Bump version to 1.1.2
2020-08-04 05:55:46 +05:30
34 changed files with 764 additions and 555 deletions

View File

@@ -16,10 +16,11 @@ Cache PHP extensions in [GitHub Actions](https://github.com/features/actions "Gi
- [Usage](#memo-usage)
- [Inputs](#inputs)
- [Workflow](#workflow)
- [Thread Safe Setup](#thread-safe-setup)
- [License](#scroll-license)
- [Contributions](#1-contributions)
- [Support this project](#sparkling_heart-support-this-project)
- [Dependencies](#bookmark-dependencies)
- [Support This Project](#sparkling_heart-support-this-project)
- [Dependencies](#package-dependencies)
## :tada: PHP Support
@@ -48,6 +49,8 @@ Cache PHP extensions in [GitHub Actions](https://github.com/features/actions "Gi
## :memo: Usage
Use this GitHub Action when the extensions you are adding in [setup-php](https://github.com/shivammathur/setup-php "setup-php GitHub Action") are installed and take a long time to setup. If you are using extensions which have the result `Installed and enabled` in the logs like `pecl` extensions on `Ubuntu` or extensions which have custom support, it is recommended to use this action to cache your extensions.
### Inputs
#### `php-version` (required)
@@ -71,6 +74,7 @@ Cache PHP extensions in [GitHub Actions](https://github.com/features/actions "Gi
See [action.yml](action.yml "Metadata for this GitHub Action") and usage below for more info.
### Workflow
> Cache extensions in a PHP workflow
```yaml
@@ -111,6 +115,19 @@ jobs:
extensions: ${{ env.extensions }}
```
### Thread Safe Setup
If you setup both `TS` and `NTS` PHP versions on `Windows` in your workflow, please add `${{ env.phpts }}` to `key` and `restore-keys` inputs in `actions/cache` step in the above workflow to avoid conflicting cache.
```yaml
- name: Cache extensions
uses: actions/cache@v2
with:
path: ${{ steps.extcache.outputs.dir }}
key: ${{ steps.extcache.outputs.key }}-${{ env.phpts }}
restore-keys: ${{ steps.extcache.outputs.key }}-${{ env.phpts }}
```
## :scroll: License
The scripts and documentation in this project are released under the [MIT License](LICENSE "License for shivammathur/cache-extensions"). This project has multiple [dependencies](https://github.com/shivammathur/cache-extensions/network/dependencies "Dependencies for this PHP Action"). Their licenses can be found in their respective repositories.
@@ -119,15 +136,14 @@ The scripts and documentation in this project are released under the [MIT Licens
Contributions are welcome! See [Contributor's Guide](.github/CONTRIBUTING.md "shivammathur/cache-extensions contribution guide"). If you face any issues while using this or want to suggest a feature/improvement, create an issue [here](https://github.com/shivammathur/cache-extensions/issues "Issues reported").
## :sparkling_heart: Support this project
## :sparkling_heart: Support This Project
If this action helped you.
- Sponsor the project by subscribing on [Patreon](https://www.patreon.com/shivammathur "Shivam Mathur Patreon") or by contributing using [Paypal](https://www.paypal.me/shivammathur "Shivam Mathur PayPal").
- Please star the project and share it with the community.
- If you blog, write about your experience of using this action.
- If you need any help using this, please contact me using [Codementor](https://www.codementor.io/shivammathur "Shivam Mathur Codementor")u need any help using this, please contact me using [Codementor](https://www.codementor.io/shivammathur "Shivam Mathur Codementor")
## :bookmark: Dependencies
## :package: Dependencies
- [Node.js dependencies](https://github.com/shivammathur/setup-php/network/dependencies "Node.js dependencies")

1131
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@@ -1,6 +1,6 @@
{
"name": "cache-extensions",
"version": "1.1.1",
"version": "1.1.3",
"private": false,
"description": "Cache extensions in GitHub Actions",
"main": "dist/index.js",
@@ -28,21 +28,21 @@
"@actions/exec": "^1.0.4"
},
"devDependencies": {
"@types/jest": "^26.0.5",
"@types/node": "^14.0.23",
"@typescript-eslint/eslint-plugin": "^3.6.1",
"@typescript-eslint/parser": "^3.6.1",
"@types/jest": "^26.0.9",
"@types/node": "^14.0.27",
"@typescript-eslint/eslint-plugin": "^3.8.0",
"@typescript-eslint/parser": "^3.8.0",
"@zeit/ncc": "^0.22.3",
"eslint": "^7.4.0",
"eslint": "^7.6.0",
"eslint-config-prettier": "^6.11.0",
"eslint-plugin-import": "^2.22.0",
"eslint-plugin-jest": "^23.18.0",
"eslint-plugin-jest": "^23.20.0",
"eslint-plugin-prettier": "^3.1.4",
"husky": "^4.2.5",
"jest": "^26.1.0",
"jest-circus": "^26.1.0",
"jest": "^26.2.2",
"jest-circus": "^26.2.2",
"prettier": "^2.0.5",
"ts-jest": "^26.1.3",
"ts-jest": "^26.1.4",
"typescript": "^3.9.7"
},
"husky": {

View File

@@ -6,7 +6,7 @@ linux_extension_dir() {
elif [[ "$version" =~ $old_versions_linux ]]; then
echo "/usr/lib/php5/$apiv"
elif [ "$version" = "8.0" ]; then
echo "/home/runner/php/8.0/lib/php/extensions/no-debug-non-zts-$apiv"
echo "/usr/local/php/8.0/lib/php/extensions/no-debug-non-zts-$apiv"
else
echo "/usr/lib/php/$apiv"
fi

View File

@@ -5,6 +5,7 @@ bcmath
bz2
Core
ctype
cubrid
curl
date
dom
@@ -16,6 +17,7 @@ ftp
gd
hash
iconv
ioncube
intl
json
libxml
@@ -31,6 +33,8 @@ pcntl
pcov
pcre
PDO
oci8
PDO_OCI
pdo_mysql
pdo_sqlite
Phar

View File

@@ -6,6 +6,7 @@ bz2
calendar
Core
ctype
cubrid
curl
date
dba
@@ -20,6 +21,7 @@ gettext
hash
iconv
imagick
ioncube
intl
json
libxml
@@ -34,6 +36,8 @@ pcntl
pcov
pcre
PDO
oci8
PDO_OCI
pdo_mysql
pdo_pgsql
pdo_sqlite

View File

@@ -6,6 +6,7 @@ bz2
calendar
Core
ctype
cubrid
curl
date
dba
@@ -20,6 +21,7 @@ gettext
hash
iconv
imagick
ioncube
intl
json
libxml
@@ -34,6 +36,8 @@ pcntl
pcov
pcre
PDO
oci8
PDO_OCI
pdo_mysql
pdo_pgsql
pdo_sqlite

View File

@@ -5,6 +5,7 @@ apcu
calendar
Core
ctype
cubrid
curl
date
dom
@@ -17,6 +18,7 @@ gettext
hash
iconv
igbinary
ioncube
intl
json
libxml

View File

@@ -4,6 +4,7 @@ apcu
calendar
Core
ctype
cubrid
curl
date
dom
@@ -15,6 +16,7 @@ gettext
hash
iconv
igbinary
ioncube
intl
json
libxml

View File

@@ -6,6 +6,7 @@ bz2
calendar
Core
ctype
cubrid
curl
date
dba
@@ -23,6 +24,7 @@ iconv
igbinary
imap
interbase
ioncube
intl
json
ldap
@@ -42,6 +44,8 @@ pcre
PDO
pdo_dblib
PDO_Firebird
oci8
PDO_OCI
pdo_mysql
PDO_ODBC
pdo_pgsql

View File

@@ -6,6 +6,7 @@ bz2
calendar
Core
ctype
cubrid
curl
date
dba
@@ -23,6 +24,7 @@ iconv
igbinary
imap
interbase
ioncube
intl
json
ldap
@@ -41,6 +43,8 @@ pcre
PDO
pdo_dblib
PDO_Firebird
oci8
PDO_OCI
pdo_mysql
PDO_ODBC
pdo_pgsql

View File

@@ -6,6 +6,7 @@ bz2
calendar
Core
ctype
cubrid
curl
date
dba
@@ -23,6 +24,7 @@ iconv
igbinary
imap
interbase
ioncube
intl
json
ldap
@@ -41,6 +43,8 @@ pcre
PDO
pdo_dblib
PDO_Firebird
oci8
PDO_OCI
pdo_mysql
PDO_ODBC
pdo_pgsql

View File

@@ -6,6 +6,7 @@ bz2
calendar
Core
ctype
cubrid
curl
date
dba
@@ -23,6 +24,7 @@ hash
iconv
igbinary
imap
ioncube
intl
json
ldap
@@ -41,6 +43,8 @@ pcre
PDO
pdo_dblib
PDO_Firebird
oci8
PDO_OCI
pdo_mysql
PDO_ODBC
pdo_pgsql

View File

@@ -18,6 +18,7 @@ gettext
gmp
hash
iconv
ioncube
intl
json
libxml
@@ -29,6 +30,8 @@ pcntl
pcov
pcre
PDO
oci8
PDO_OCI
pdo_mysql
pdo_pgsql
pdo_sqlite

View File

@@ -5,6 +5,7 @@ bcmath
bz2
Core
ctype
cubrid
curl
date
dom
@@ -16,6 +17,7 @@ ftp
gd
hash
iconv
ioncube
intl
json
libxml
@@ -28,6 +30,8 @@ openssl
pcntl
pcre
PDO
oci8
PDO_OCI
pdo_mysql
pdo_sqlite
Phar

View File

@@ -6,6 +6,7 @@ bz2
calendar
Core
ctype
cubrid
curl
date
dba
@@ -20,6 +21,7 @@ gettext
hash
iconv
imagick
ioncube
intl
json
libxml
@@ -33,6 +35,8 @@ openssl
pcntl
pcre
PDO
oci8
PDO_OCI
pdo_mysql
pdo_pgsql
pdo_sqlite

View File

@@ -6,6 +6,7 @@ bz2
calendar
Core
ctype
cubrid
curl
date
dba
@@ -20,6 +21,7 @@ gettext
hash
iconv
imagick
ioncube
intl
json
libxml
@@ -33,6 +35,8 @@ openssl
pcntl
pcre
PDO
oci8
PDO_OCI
pdo_mysql
pdo_pgsql
pdo_sqlite

View File

@@ -5,6 +5,7 @@ apcu
calendar
Core
ctype
cubrid
curl
date
dom
@@ -17,6 +18,7 @@ gettext
hash
iconv
igbinary
ioncube
intl
json
libxml

View File

@@ -4,6 +4,7 @@ apcu
calendar
Core
ctype
cubrid
curl
date
dom
@@ -15,6 +16,7 @@ gettext
hash
iconv
igbinary
ioncube
intl
json
libxml

View File

@@ -4,6 +4,7 @@ apcu
calendar
Core
ctype
cubrid
curl
date
dom
@@ -15,6 +16,7 @@ gettext
hash
iconv
igbinary
ioncube
intl
json
libxml

View File

@@ -4,6 +4,7 @@ apcu
calendar
Core
ctype
cubrid
curl
date
dom
@@ -15,6 +16,7 @@ gettext
hash
iconv
igbinary
ioncube
intl
json
libxml

View File

@@ -4,6 +4,7 @@ apcu
calendar
Core
ctype
cubrid
curl
date
dom
@@ -15,6 +16,7 @@ gettext
hash
iconv
igbinary
ioncube
intl
json
libxml

View File

@@ -1,47 +1,86 @@
[PHP Modules]
amqp
apcu
bcmath
bz2
calendar
Core
ctype
cubrid
curl
date
dba
dom
enchant
exif
FFI
fileinfo
filter
ftp
gd
gettext
gmp
hash
iconv
igbinary
imape
ioncub
intl
json
ldap
libxml
mbstring
memcache
memcached
mongodb
msgpack
mysqli
mysqlnd
odbc
openssl
pcntl
pcov
pcre
oci8
PDO
pdo_dblib
PDO_Firebird
PDO_OCI
pdo_mysql
PDO_ODBC
pdo_pgsql
pdo_sqlite
pgsql
Phar
posix
pspell
readline
redis
Reflection
session
shmop
SimpleXML
snmp
soap
sockets
sodium
SPL
sqlite3
standard
sysvmsg
sysvsem
sysvshm
tidy
tokenizer
xdebug
xml
xmlreader
xmlrpc
xmlwriter
xsl
yaml
Zend OPcache
zip
zlib
zmq
phalcon3

View File

@@ -4,6 +4,7 @@ bz2
calendar
Core
ctype
cubrid
curl
date
dom
@@ -18,6 +19,7 @@ gettext
gmp
hash
iconv
ioncube
intl
json
libxml
@@ -29,6 +31,8 @@ pcntl
pcov
pcre
PDO
oci8
PDO_OCI
pdo_mysql
pdo_pgsql
pdo_sqlite

View File

@@ -5,6 +5,7 @@ bcmath
bz2
Core
ctype
cubrid
curl
date
dom
@@ -16,6 +17,7 @@ ftp
gd
hash
iconv
ioncube
intl
json
libxml
@@ -30,6 +32,8 @@ openssl
pcntl
pcre
PDO
oci8
PDO_OCI
pdo_mysql
pdo_sqlite
Phar

View File

@@ -6,6 +6,7 @@ bz2
calendar
Core
ctype
cubrid
curl
date
dba
@@ -20,6 +21,7 @@ gettext
hash
iconv
imagick
ioncube
intl
json
libxml
@@ -33,6 +35,8 @@ openssl
pcntl
pcre
PDO
oci8
PDO_OCI
pdo_mysql
pdo_pgsql
pdo_sqlite

View File

@@ -6,6 +6,7 @@ bz2
calendar
Core
ctype
cubrid
curl
date
dba
@@ -20,6 +21,7 @@ gettext
hash
iconv
imagick
ioncube
intl
json
libxml
@@ -33,6 +35,8 @@ openssl
pcntl
pcre
PDO
oci8
PDO_OCI
pdo_mysql
pdo_pgsql
pdo_sqlite

View File

@@ -7,6 +7,7 @@ bz2
calendar
Core
ctype
cubrid
curl
date
dba
@@ -25,6 +26,7 @@ iconv
igbinary
imap
interbase
ioncube
intl
json
ldap
@@ -47,6 +49,8 @@ pcre
PDO
pdo_dblib
PDO_Firebird
oci8
PDO_OCI
pdo_mysql
PDO_ODBC
pdo_pgsql

View File

@@ -6,6 +6,7 @@ bz2
calendar
Core
ctype
cubrid
curl
date
dba
@@ -23,6 +24,7 @@ iconv
igbinary
imap
interbase
ioncube
intl
json
ldap
@@ -42,6 +44,8 @@ pcre
PDO
pdo_dblib
PDO_Firebird
oci8
PDO_OCI
pdo_mysql
PDO_ODBC
pdo_pgsql

View File

@@ -6,6 +6,7 @@ bz2
calendar
Core
ctype
cubrid
curl
date
dba
@@ -23,6 +24,7 @@ iconv
igbinary
imap
interbase
ioncube
intl
json
ldap
@@ -42,6 +44,8 @@ pcre
PDO
pdo_dblib
PDO_Firebird
oci8
PDO_OCI
pdo_mysql
PDO_ODBC
pdo_pgsql

View File

@@ -6,6 +6,7 @@ bz2
calendar
Core
ctype
cubrid
curl
date
dba
@@ -23,6 +24,7 @@ iconv
igbinary
imap
interbase
ioncube
intl
json
ldap
@@ -41,6 +43,8 @@ pcre
PDO
pdo_dblib
PDO_Firebird
oci8
PDO_OCI
pdo_mysql
PDO_ODBC
pdo_pgsql

View File

@@ -6,6 +6,7 @@ bz2
calendar
Core
ctype
cubrid
curl
date
dba
@@ -23,6 +24,7 @@ iconv
igbinary
imap
interbase
ioncube
intl
json
ldap
@@ -41,6 +43,8 @@ pcre
PDO
pdo_dblib
PDO_Firebird
oci8
PDO_OCI
pdo_mysql
PDO_ODBC
pdo_pgsql

View File

@@ -6,6 +6,7 @@ bz2
calendar
Core
ctype
cubrid
curl
date
dba
@@ -23,6 +24,7 @@ hash
iconv
igbinary
imap
ioncube
intl
json
ldap
@@ -41,6 +43,8 @@ pcre
PDO
pdo_dblib
PDO_Firebird
oci8
PDO_OCI
pdo_mysql
PDO_ODBC
pdo_pgsql

View File

@@ -4,6 +4,7 @@ bz2
calendar
Core
ctype
cubrid
curl
date
dom
@@ -18,6 +19,7 @@ gettext
gmp
hash
iconv
ioncube
intl
json
libxml
@@ -29,6 +31,8 @@ pcntl
pcov
pcre
PDO
oci8
PDO_OCI
pdo_mysql
pdo_pgsql
pdo_sqlite