Skip to content

Switch to v2

Shivam Mathur edited this page Nov 9, 2020 · 3 revisions

If you are using v1, switching to v2 will require the following changes

Breaking changes

  • If you are using extension-csv input, rename it to extensions
  • If you are using ini-values-csv input, rename it to ini-values
  • If you are using pecl input, remove it and add a tools input with pecl in it.
-  uses: shivammathur/setup-php@v1
   with:
     php-version: '7.4'
-    extension-csv: xml, pcov
-    ini-values-csv: post_max_size=256M
-    pecl: true
+  uses: shivammathur/setup-php@v2
   with:
     php-version: '7.4'
+    extensions: xml, pcov
+    ini-values: post_max_size=256M
+    tools: pecl