From 7045a9c4c7f95514bc5650a2fb7ea0b0c13996ff Mon Sep 17 00:00:00 2001 From: Shivam Mathur Date: Mon, 10 Aug 2020 12:12:36 +0530 Subject: [PATCH] Add cubrid to the lists Update README Bump version to 1.1.3 --- README.md | 26 ++++++++++++--- package-lock.json | 52 +++++++++++++++--------------- package.json | 4 +-- src/lists/bionic-php5.3-extensions | 1 + src/lists/bionic-php5.4-extensions | 1 + src/lists/bionic-php5.5-extensions | 1 + src/lists/bionic-php5.6-extensions | 1 + src/lists/bionic-php7.0-extensions | 1 + src/lists/bionic-php7.1-extensions | 1 + src/lists/bionic-php7.2-extensions | 1 + src/lists/bionic-php7.3-extensions | 1 + src/lists/bionic-php7.4-extensions | 1 + src/lists/focal-php5.3-extensions | 1 + src/lists/focal-php5.4-extensions | 1 + src/lists/focal-php5.5-extensions | 1 + src/lists/focal-php5.6-extensions | 1 + src/lists/focal-php7.0-extensions | 1 + src/lists/focal-php7.1-extensions | 1 + src/lists/focal-php7.2-extensions | 1 + src/lists/focal-php7.3-extensions | 1 + src/lists/focal-php7.4-extensions | 1 + src/lists/focal-php8.0-extensions | 1 + src/lists/xenial-php5.3-extensions | 1 + src/lists/xenial-php5.4-extensions | 1 + src/lists/xenial-php5.5-extensions | 1 + src/lists/xenial-php5.6-extensions | 1 + src/lists/xenial-php7.0-extensions | 1 + src/lists/xenial-php7.1-extensions | 1 + src/lists/xenial-php7.2-extensions | 1 + src/lists/xenial-php7.3-extensions | 1 + src/lists/xenial-php7.4-extensions | 1 + src/lists/xenial-php8.0-extensions | 1 + 32 files changed, 78 insertions(+), 33 deletions(-) diff --git a/README.md b/README.md index f1b0c82..8fb294c 100644 --- a/README.md +++ b/README.md @@ -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") \ No newline at end of file diff --git a/package-lock.json b/package-lock.json index bfbda4b..9add1a8 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "cache-extensions", - "version": "1.1.2", + "version": "1.1.3", "lockfileVersion": 1, "requires": true, "dependencies": { @@ -32,16 +32,16 @@ } }, "@babel/core": { - "version": "7.11.0", - "resolved": "https://registry.npmjs.org/@babel/core/-/core-7.11.0.tgz", - "integrity": "sha512-mkLq8nwaXmDtFmRkQ8ED/eA2CnVw4zr7dCztKalZXBvdK5EeNUAesrrwUqjQEzFgomJssayzB0aqlOsP1vGLqg==", + "version": "7.11.1", + "resolved": "https://registry.npmjs.org/@babel/core/-/core-7.11.1.tgz", + "integrity": "sha512-XqF7F6FWQdKGGWAzGELL+aCO1p+lRY5Tj5/tbT3St1G8NaH70jhhDIKknIZaDans0OQBG5wRAldROLHSt44BgQ==", "dev": true, "requires": { "@babel/code-frame": "^7.10.4", "@babel/generator": "^7.11.0", "@babel/helper-module-transforms": "^7.11.0", "@babel/helpers": "^7.10.4", - "@babel/parser": "^7.11.0", + "@babel/parser": "^7.11.1", "@babel/template": "^7.10.4", "@babel/traverse": "^7.11.0", "@babel/types": "^7.11.0", @@ -277,9 +277,9 @@ } }, "@babel/parser": { - "version": "7.11.0", - "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.11.0.tgz", - "integrity": "sha512-qvRvi4oI8xii8NllyEc4MDJjuZiNaRzyb7Y7lup1NqJV8TZHF4O27CcP+72WPn/k1zkgJ6WJfnIbk4jTsVAZHw==", + "version": "7.11.3", + "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.11.3.tgz", + "integrity": "sha512-REo8xv7+sDxkKvoxEywIdsNFiZLybwdI7hcT5uEPyQrSMB4YQ973BfC9OOrD/81MaIjh6UxdulIQXkjmiH3PcA==", "dev": true }, "@babel/plugin-syntax-async-generators": { @@ -1026,9 +1026,9 @@ } }, "@types/jest": { - "version": "26.0.8", - "resolved": "https://registry.npmjs.org/@types/jest/-/jest-26.0.8.tgz", - "integrity": "sha512-eo3VX9jGASSuv680D4VQ89UmuLZneNxv2MCZjfwlInav05zXVJTzfc//lavdV0GPwSxsXJTy2jALscB7Acqg0g==", + "version": "26.0.9", + "resolved": "https://registry.npmjs.org/@types/jest/-/jest-26.0.9.tgz", + "integrity": "sha512-k4qFfJ5AUKrWok5KYXp2EPm89b0P/KZpl7Vg4XuOTVVQEhLDBDBU3iBFrjjdgd8fLw96aAtmnwhXHl63bWeBQQ==", "dev": true, "requires": { "jest-diff": "^25.2.1", @@ -1176,9 +1176,9 @@ "dev": true }, "acorn": { - "version": "7.3.1", - "resolved": "https://registry.npmjs.org/acorn/-/acorn-7.3.1.tgz", - "integrity": "sha512-tLc0wSnatxAQHVHUapaHdz72pi9KUyHjq5KyHjGg9Y8Ifdc79pTh2XvI6I1/chZbnM7QtNKzh66ooDogPZSleA==", + "version": "7.4.0", + "resolved": "https://registry.npmjs.org/acorn/-/acorn-7.4.0.tgz", + "integrity": "sha512-+G7P8jJmCHr+S+cLfQxygbWhXy+8YTVGzAkpEbcLo2mLoL7tij/VG41QSHACSf5QgYRhMZYHuNc6drJaO0Da+w==", "dev": true }, "acorn-globals": { @@ -3396,9 +3396,9 @@ } }, "is-docker": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/is-docker/-/is-docker-2.1.0.tgz", - "integrity": "sha512-mB2WygGsSeoXtLKpSYzP6sa0Z9DyU9ZyKlnvuZWxCociaI0qsF8u12sR72DFTX236g1u6oWSWYFuUk09nGQEjg==", + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/is-docker/-/is-docker-2.1.1.tgz", + "integrity": "sha512-ZOoqiXfEwtGknTiuDEy8pN2CfE3TxMHprvNer1mXiqwkOT77Rw3YVrUQ52EqAOU3QAWDQ+bQdx7HJzrv7LS2Hw==", "dev": true, "optional": true }, @@ -3457,9 +3457,9 @@ "dev": true }, "is-regex": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/is-regex/-/is-regex-1.1.0.tgz", - "integrity": "sha512-iI97M8KTWID2la5uYXlkbSDQIg4F6o1sYboZKKTDpnDQMLtUL86zxhgDet3Q2SriaYsyGqZ6Mn2SjbRKeLHdqw==", + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/is-regex/-/is-regex-1.1.1.tgz", + "integrity": "sha512-1+QkEcxiLlB7VEyFtyBg94e08OAsvq7FUBgApTq/w2ymCLyKJgDPsybBENVtA7XCQEgEXxKPonG+mvYRxh/LIg==", "dev": true, "requires": { "has-symbols": "^1.0.1" @@ -4901,9 +4901,9 @@ "dev": true }, "jsdom": { - "version": "16.3.0", - "resolved": "https://registry.npmjs.org/jsdom/-/jsdom-16.3.0.tgz", - "integrity": "sha512-zggeX5UuEknpdZzv15+MS1dPYG0J/TftiiNunOeNxSl3qr8Z6cIlQpN0IdJa44z9aFxZRIVqRncvEhQ7X5DtZg==", + "version": "16.4.0", + "resolved": "https://registry.npmjs.org/jsdom/-/jsdom-16.4.0.tgz", + "integrity": "sha512-lYMm3wYdgPhrl7pDcRmvzPhhrGVBeVhPIqeHjzeiHN3DFmD1RBpbExbi8vU7BJdH8VAZYovR8DMt0PNNDM7k8w==", "dev": true, "requires": { "abab": "^2.0.3", @@ -5408,9 +5408,9 @@ } }, "onetime": { - "version": "5.1.1", - "resolved": "https://registry.npmjs.org/onetime/-/onetime-5.1.1.tgz", - "integrity": "sha512-ZpZpjcJeugQfWsfyQlshVoowIIQ1qBGSVll4rfDq6JJVO//fesjoX808hXWfBjY+ROZgpKDI5TRSRBSoJiZ8eg==", + "version": "5.1.2", + "resolved": "https://registry.npmjs.org/onetime/-/onetime-5.1.2.tgz", + "integrity": "sha512-kbpaSSGJTWdAY5KPVeMOKXSrPtr8C8C7wodJbcsd51jRnmD+GZu8Y0VoU6Dm5Z4vWr0Ig/1NKuWRKf7j5aaYSg==", "dev": true, "requires": { "mimic-fn": "^2.1.0" diff --git a/package.json b/package.json index f97c6e4..dfcc5f5 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "cache-extensions", - "version": "1.1.2", + "version": "1.1.3", "private": false, "description": "Cache extensions in GitHub Actions", "main": "dist/index.js", @@ -28,7 +28,7 @@ "@actions/exec": "^1.0.4" }, "devDependencies": { - "@types/jest": "^26.0.8", + "@types/jest": "^26.0.9", "@types/node": "^14.0.27", "@typescript-eslint/eslint-plugin": "^3.8.0", "@typescript-eslint/parser": "^3.8.0", diff --git a/src/lists/bionic-php5.3-extensions b/src/lists/bionic-php5.3-extensions index 36ac166..3254bfd 100644 --- a/src/lists/bionic-php5.3-extensions +++ b/src/lists/bionic-php5.3-extensions @@ -5,6 +5,7 @@ bcmath bz2 Core ctype +cubrid curl date dom diff --git a/src/lists/bionic-php5.4-extensions b/src/lists/bionic-php5.4-extensions index d44e252..26e76eb 100644 --- a/src/lists/bionic-php5.4-extensions +++ b/src/lists/bionic-php5.4-extensions @@ -6,6 +6,7 @@ bz2 calendar Core ctype +cubrid curl date dba diff --git a/src/lists/bionic-php5.5-extensions b/src/lists/bionic-php5.5-extensions index d44e252..26e76eb 100644 --- a/src/lists/bionic-php5.5-extensions +++ b/src/lists/bionic-php5.5-extensions @@ -6,6 +6,7 @@ bz2 calendar Core ctype +cubrid curl date dba diff --git a/src/lists/bionic-php5.6-extensions b/src/lists/bionic-php5.6-extensions index b0f1f66..47dde44 100644 --- a/src/lists/bionic-php5.6-extensions +++ b/src/lists/bionic-php5.6-extensions @@ -5,6 +5,7 @@ apcu calendar Core ctype +cubrid curl date dom diff --git a/src/lists/bionic-php7.0-extensions b/src/lists/bionic-php7.0-extensions index 59f800b..e952f79 100644 --- a/src/lists/bionic-php7.0-extensions +++ b/src/lists/bionic-php7.0-extensions @@ -4,6 +4,7 @@ apcu calendar Core ctype +cubrid curl date dom diff --git a/src/lists/bionic-php7.1-extensions b/src/lists/bionic-php7.1-extensions index 0d245dd..770fa0b 100644 --- a/src/lists/bionic-php7.1-extensions +++ b/src/lists/bionic-php7.1-extensions @@ -6,6 +6,7 @@ bz2 calendar Core ctype +cubrid curl date dba diff --git a/src/lists/bionic-php7.2-extensions b/src/lists/bionic-php7.2-extensions index 301c59d..266245b 100644 --- a/src/lists/bionic-php7.2-extensions +++ b/src/lists/bionic-php7.2-extensions @@ -6,6 +6,7 @@ bz2 calendar Core ctype +cubrid curl date dba diff --git a/src/lists/bionic-php7.3-extensions b/src/lists/bionic-php7.3-extensions index 301c59d..266245b 100644 --- a/src/lists/bionic-php7.3-extensions +++ b/src/lists/bionic-php7.3-extensions @@ -6,6 +6,7 @@ bz2 calendar Core ctype +cubrid curl date dba diff --git a/src/lists/bionic-php7.4-extensions b/src/lists/bionic-php7.4-extensions index e29f1a7..e8f582d 100644 --- a/src/lists/bionic-php7.4-extensions +++ b/src/lists/bionic-php7.4-extensions @@ -6,6 +6,7 @@ bz2 calendar Core ctype +cubrid curl date dba diff --git a/src/lists/focal-php5.3-extensions b/src/lists/focal-php5.3-extensions index 042276e..f5bb05f 100644 --- a/src/lists/focal-php5.3-extensions +++ b/src/lists/focal-php5.3-extensions @@ -5,6 +5,7 @@ bcmath bz2 Core ctype +cubrid curl date dom diff --git a/src/lists/focal-php5.4-extensions b/src/lists/focal-php5.4-extensions index 5e5a6f0..d18320a 100644 --- a/src/lists/focal-php5.4-extensions +++ b/src/lists/focal-php5.4-extensions @@ -6,6 +6,7 @@ bz2 calendar Core ctype +cubrid curl date dba diff --git a/src/lists/focal-php5.5-extensions b/src/lists/focal-php5.5-extensions index 5e5a6f0..d18320a 100644 --- a/src/lists/focal-php5.5-extensions +++ b/src/lists/focal-php5.5-extensions @@ -6,6 +6,7 @@ bz2 calendar Core ctype +cubrid curl date dba diff --git a/src/lists/focal-php5.6-extensions b/src/lists/focal-php5.6-extensions index 4a65dc2..106221f 100644 --- a/src/lists/focal-php5.6-extensions +++ b/src/lists/focal-php5.6-extensions @@ -5,6 +5,7 @@ apcu calendar Core ctype +cubrid curl date dom diff --git a/src/lists/focal-php7.0-extensions b/src/lists/focal-php7.0-extensions index a3d54f5..1e65c91 100644 --- a/src/lists/focal-php7.0-extensions +++ b/src/lists/focal-php7.0-extensions @@ -4,6 +4,7 @@ apcu calendar Core ctype +cubrid curl date dom diff --git a/src/lists/focal-php7.1-extensions b/src/lists/focal-php7.1-extensions index a3d54f5..1e65c91 100644 --- a/src/lists/focal-php7.1-extensions +++ b/src/lists/focal-php7.1-extensions @@ -4,6 +4,7 @@ apcu calendar Core ctype +cubrid curl date dom diff --git a/src/lists/focal-php7.2-extensions b/src/lists/focal-php7.2-extensions index 8247178..fc2a5df 100644 --- a/src/lists/focal-php7.2-extensions +++ b/src/lists/focal-php7.2-extensions @@ -4,6 +4,7 @@ apcu calendar Core ctype +cubrid curl date dom diff --git a/src/lists/focal-php7.3-extensions b/src/lists/focal-php7.3-extensions index 8247178..fc2a5df 100644 --- a/src/lists/focal-php7.3-extensions +++ b/src/lists/focal-php7.3-extensions @@ -4,6 +4,7 @@ apcu calendar Core ctype +cubrid curl date dom diff --git a/src/lists/focal-php7.4-extensions b/src/lists/focal-php7.4-extensions index d024f9d..076e65d 100644 --- a/src/lists/focal-php7.4-extensions +++ b/src/lists/focal-php7.4-extensions @@ -6,6 +6,7 @@ bz2 calendar Core ctype +cubrid curl date dba diff --git a/src/lists/focal-php8.0-extensions b/src/lists/focal-php8.0-extensions index 97614cb..067b710 100644 --- a/src/lists/focal-php8.0-extensions +++ b/src/lists/focal-php8.0-extensions @@ -4,6 +4,7 @@ bz2 calendar Core ctype +cubrid curl date dom diff --git a/src/lists/xenial-php5.3-extensions b/src/lists/xenial-php5.3-extensions index 988dcb1..6d7471d 100644 --- a/src/lists/xenial-php5.3-extensions +++ b/src/lists/xenial-php5.3-extensions @@ -5,6 +5,7 @@ bcmath bz2 Core ctype +cubrid curl date dom diff --git a/src/lists/xenial-php5.4-extensions b/src/lists/xenial-php5.4-extensions index 5e5a6f0..d18320a 100644 --- a/src/lists/xenial-php5.4-extensions +++ b/src/lists/xenial-php5.4-extensions @@ -6,6 +6,7 @@ bz2 calendar Core ctype +cubrid curl date dba diff --git a/src/lists/xenial-php5.5-extensions b/src/lists/xenial-php5.5-extensions index 5e5a6f0..d18320a 100644 --- a/src/lists/xenial-php5.5-extensions +++ b/src/lists/xenial-php5.5-extensions @@ -6,6 +6,7 @@ bz2 calendar Core ctype +cubrid curl date dba diff --git a/src/lists/xenial-php5.6-extensions b/src/lists/xenial-php5.6-extensions index 6e20504..316e02d 100644 --- a/src/lists/xenial-php5.6-extensions +++ b/src/lists/xenial-php5.6-extensions @@ -7,6 +7,7 @@ bz2 calendar Core ctype +cubrid curl date dba diff --git a/src/lists/xenial-php7.0-extensions b/src/lists/xenial-php7.0-extensions index 0d245dd..770fa0b 100644 --- a/src/lists/xenial-php7.0-extensions +++ b/src/lists/xenial-php7.0-extensions @@ -6,6 +6,7 @@ bz2 calendar Core ctype +cubrid curl date dba diff --git a/src/lists/xenial-php7.1-extensions b/src/lists/xenial-php7.1-extensions index 0d245dd..770fa0b 100644 --- a/src/lists/xenial-php7.1-extensions +++ b/src/lists/xenial-php7.1-extensions @@ -6,6 +6,7 @@ bz2 calendar Core ctype +cubrid curl date dba diff --git a/src/lists/xenial-php7.2-extensions b/src/lists/xenial-php7.2-extensions index 301c59d..266245b 100644 --- a/src/lists/xenial-php7.2-extensions +++ b/src/lists/xenial-php7.2-extensions @@ -6,6 +6,7 @@ bz2 calendar Core ctype +cubrid curl date dba diff --git a/src/lists/xenial-php7.3-extensions b/src/lists/xenial-php7.3-extensions index 301c59d..266245b 100644 --- a/src/lists/xenial-php7.3-extensions +++ b/src/lists/xenial-php7.3-extensions @@ -6,6 +6,7 @@ bz2 calendar Core ctype +cubrid curl date dba diff --git a/src/lists/xenial-php7.4-extensions b/src/lists/xenial-php7.4-extensions index e29f1a7..e8f582d 100644 --- a/src/lists/xenial-php7.4-extensions +++ b/src/lists/xenial-php7.4-extensions @@ -6,6 +6,7 @@ bz2 calendar Core ctype +cubrid curl date dba diff --git a/src/lists/xenial-php8.0-extensions b/src/lists/xenial-php8.0-extensions index 3343d8b..dde8887 100644 --- a/src/lists/xenial-php8.0-extensions +++ b/src/lists/xenial-php8.0-extensions @@ -4,6 +4,7 @@ bz2 calendar Core ctype +cubrid curl date dom