From eb7b2459a74e0634d683e78d005c08a2c3608757 Mon Sep 17 00:00:00 2001 From: Benedikt Franke Date: Thu, 10 Dec 2020 16:14:00 +0100 Subject: [PATCH] Document how to specify multiple extensions --- README.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/README.md b/README.md index 90302a23..a7a580df 100644 --- a/README.md +++ b/README.md @@ -150,6 +150,16 @@ The action supports both `GitHub-hosted` runners and `self-hosted` runners on th extensions: xdebug-beta ``` +- Multiple extensions are expected as a comma separated list. + +```yaml +- name: Setup PHP with multiple extensions + uses: shivammathur/setup-php@v2 + with: + php-version: '7.4' + extensions: swoole, sqlite +``` + - Shared extensions can be removed by prefixing them with a `:`. ```yaml