Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit c256f0c

Browse files
committed
Update README
1 parent d84365c commit c256f0c

File tree

1 file changed

+25
-45
lines changed

1 file changed

+25
-45
lines changed

README.md

Lines changed: 25 additions & 45 deletions
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ with:
143143

144144
- Extensions which cannot be added or removed gracefully leave an error message in the logs, the action is not interrupted.
145145

146-
- These extensions have custom support - `gearman` on `Ubuntu`, `blackfire`, `ioncube`, `oci8`, `pdo_oci`, `phalcon3` and `phalcon4` on all supported OS.
146+
- These extensions have custom support - `cubrid`, `pdo_cubrid` and `gearman` on `Ubuntu`, and `blackfire`, `ioncube`, `oci8`, `pdo_oci`, `phalcon3` and `phalcon4` on all supported OS.
147147

148148
## :wrench: Tools Support
149149

@@ -178,7 +178,7 @@ with:
178178
```
179179

180180
**Notes**
181-
- Both agent `blackfire-agent` and client `blackfire` are setup when `blackfire` is specified in tools input.
181+
- Latest versions of both agent `blackfire-agent` and client `blackfire` are setup when `blackfire` is specified in tools input.
182182
- Tools which cannot be setup gracefully leave an error message in the logs, the action is not interrupted.
183183

184184
## :signal_strength: Coverage Support
@@ -455,45 +455,8 @@ To debug any issues, you can use the `verbose` tag instead of `v2`.
455455

456456
### Cache Extensions
457457

458-
You can cache PHP extensions using [`shivammathur/cache-extensions`](https://github.com/shivammathur/cache-extensions "GitHub Action to cache php extensions") and [`action/cache`](https://github.com/actions/cache "GitHub Action to cache files") GitHub Actions. Extensions which take very long to setup when cached are available in the next workflow run and are enabled directly. This reduces the workflow execution time.
459-
460-
```yaml
461-
runs-on: ${{ matrix.operating-system }}
462-
strategy:
463-
matrix:
464-
operating-system: [ubuntu-latest, windows-latest, macos-latest]
465-
php-versions: ['7.2', '7.3', '7.4']
466-
name: PHP ${{ matrix.php-versions }} Test on ${{ matrix.operating-system }}
467-
env:
468-
extensions: intl, pcov
469-
key: cache-v1 # can be any string, change to clear the extension cache.
470-
steps:
471-
- name: Checkout
472-
uses: actions/checkout@v2
473-
474-
- name: Setup cache environment
475-
id: extcache
476-
uses: shivammathur/cache-extensions@v1
477-
with:
478-
php-version: ${{ matrix.php-versions }}
479-
extensions: ${{ env.extensions }}
480-
key: ${{ env.key }}
481-
482-
- name: Cache extensions
483-
uses: actions/cache@v2
484-
with:
485-
path: ${{ steps.extcache.outputs.dir }}
486-
key: ${{ steps.extcache.outputs.key }}
487-
restore-keys: ${{ steps.extcache.outputs.key }}
488-
489-
- name: Setup PHP
490-
uses: shivammathur/setup-php@v2
491-
with:
492-
php-version: ${{ matrix.php-versions }}
493-
extensions: ${{ env.extensions }}
494-
```
495-
496-
**Note:** If you setup both `TS` and `NTS` PHP versions on `windows`, add `${{ env.phpts }}` to `key` and `restore-keys` inputs in `actions/cache` step.
458+
You can cache PHP extensions using `shivammathur/cache-extensions` and `action/cache` GitHub Actions. Extensions which take very long to setup when cached are available in the next workflow run and are enabled directly. This reduces the workflow execution time.
459+
Refer to [`shivammathur/cache-extensions`](https://github.com/shivammathur/cache-extensions "GitHub Action to cache php extensions") for details.
497460

498461
### Cache Composer Dependencies
499462

@@ -646,9 +609,23 @@ Examples of using `setup-php` with various PHP Frameworks and Packages.
646609

647610
## :sparkling_heart: Support This Project
648611

649-
If this action helped you.
612+
**Thanks for supporting this project**
650613

651-
- 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"). This project is also available as part of the [Tidelift Subscription](https://tidelift.com/subscription/pkg/npm-setup-php?utm_source=npm-setup-php&utm_medium=referral&utm_campaign=enterprise&utm_term=repo "Tidelift Subscription for setup-php") to support delivering enterprise-level maintenance.
614+
<p>
615+
<a href="https://www.jetbrains.com/?from=setup-php">
616+
<img src="https://shivammathur.com/jetbrains.svg" alt="JetBrains" width="150" height="85">
617+
</a>
618+
<img src="https://shivammathur.com/blank.svg" alt="spacer" width="40" height="85">
619+
<a href="https://tidelift.com/subscription/pkg/npm-setup-php">
620+
<img src="https://shivammathur.com/tidelift.png" alt="Tidelift" width="100" height="85">
621+
</a>
622+
</p>
623+
624+
*If this action helped you*
625+
626+
- Sponsor the project by contributing using [Paypal](https://www.paypal.me/shivammathur "Shivam Mathur PayPal") or by subscribing on [Patreon](https://www.patreon.com/shivammathur "Shivam Mathur Patreon").
627+
- If you have an open-source support program, please [contact](mailto:[email protected]) to sponsor this project.
628+
- This project is also available as part of the [Tidelift Subscription](https://tidelift.com/subscription/pkg/npm-setup-php?utm_source=npm-setup-php&utm_medium=referral&utm_campaign=enterprise&utm_term=repo "Tidelift Subscription for setup-php") to support delivering enterprise-level maintenance.
652629
- Please star the project and dependencies. If you blog, please share your experience of using this action with the community.
653630

654631
## :package: Dependencies
@@ -658,9 +635,12 @@ If this action helped you.
658635
- [mlocati/powershell-phpmanager](https://github.com/mlocati/powershell-phpmanager "Package to handle PHP on windows")
659636
- [ppa:ondrej/php](https://launchpad.net/~ondrej/+archive/ubuntu/php "Packaging active PHP packages")
660637
- [shivammathur/cache-extensions](https://github.com/shivammathur/cache-extensions "GitHub action to help with caching PHP extensions")
661-
- [shivammathur/homebrew-php](https://github.com/shivammathur/homebrew-php "Tap for PHP builds on MacOS")
638+
- [shivammathur/composer-cache](https://github.com/shivammathur/composer-cache "Cache composer releases")
662639
- [shivammathur/homebrew-extensions](https://github.com/shivammathur/homebrew-extensions "Tap for PHP extensions on MacOS")
663-
- [shivammathur/php-builder](https://github.com/shivammathur/php-builder "Nightly PHP package")
640+
- [shivammathur/homebrew-php](https://github.com/shivammathur/homebrew-php "Tap for PHP builds on MacOS")
641+
- [shivammathur/php-builder](https://github.com/shivammathur/php-builder "Nightly PHP package for Ubuntu")
642+
- [shivammathur/php-builder-windows](https://github.com/shivammathur/php-builder-windows "Nightly PHP package for Windows")
643+
- [shivammathur/php-ubuntu](https://github.com/shivammathur/php-ubuntu "Cache stable PHP Packages for Ubuntu")
664644
- [shivammathur/php5-darwin](https://github.com/shivammathur/php5-darwin "Scripts to setup PHP5 versions on darwin")
665645
- [shivammathur/php5-ubuntu](https://github.com/shivammathur/php5-ubuntu "Scripts to setup PHP5 versions on ubuntu")
666646

0 commit comments

Comments
 (0)