From cc55dbcaa8be0c795b2aa79c7414eadda62fcee6 Mon Sep 17 00:00:00 2001 From: Shivam Mathur Date: Mon, 17 Feb 2020 02:35:18 +0530 Subject: [PATCH] Remove support for deprecated inputs --- action.yml | 13 -- builds | 607 ------------------------------------------------- dist/index.js | 6 +- src/install.ts | 7 +- 4 files changed, 4 insertions(+), 629 deletions(-) delete mode 100644 builds diff --git a/action.yml b/action.yml index 65ea57cd..e9511e58 100644 --- a/action.yml +++ b/action.yml @@ -23,19 +23,6 @@ inputs: update: description: 'Update PHP if already installed.' required: false - # Deprecated options, do not use. Will not be supported in v2 which will be released around February 1, 2020. - extension-csv: - description: 'Deprecated! Use extensions instead.' - deprecationMessage: 'The extension-csv property will not be supported in v2. Use extensions instead.' - required: false - ini-values-csv: - description: 'Deprecated! Use ini-values instead.' - deprecationMessage: 'The ini-values-csv property will not be supported in v2. Use ini-values instead.' - required: false - pecl: - description: 'Deprecated! Use tools instead to setup PECL.' - deprecationMessage: 'The pecl property will not be supported in v2. Specify pecl in tools instead.' - required: false runs: using: 'node12' main: 'dist/index.js' diff --git a/builds b/builds deleted file mode 100644 index 00771115..00000000 --- a/builds +++ /dev/null @@ -1,607 +0,0 @@ - - - - - - Codeception Builds - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-
-
-
-

4.0

-

Requires: PHP 5.6 and higher + CURL

- - - -

3.1

-

Requires: PHP 5.6 and higher + CURL

- - - -

3.0

-

Requires: PHP 5.6 and higher + CURL

- - - -

2.5

-

Requires: PHP 5.6 and higher + CURL

- - - -

2.4

-

Requires: PHP 5.6 and higher + CURL

- - - -

2.3

-

Requires: PHP 5.4 and higher + CURL

- - - -

2.2

-

Requires: PHP 5.4 and higher + CURL

- - - -

2.1

-

Requires: PHP 5.4 and higher + CURL

- - - -

2.0

-

Requires: PHP 5.4 and higher + CURL

- - - -

1.8

-

Requires: PHP 5.3 and higher + CURL

- - - -

1.7

-

Requires: PHP 5.3 and higher + CURL

- - - -

1.6

-

Requires: PHP 5.3 and higher + CURL

- - - -
-
- -
- - - -
- Quick Start → -


Write and execute a test for an existing app - in less than a 5 mins! -

-
- - - - -
-
- - -
- -
- -
- - - - - - - - - -
- - - -
- - - - - - - - - - - - - diff --git a/dist/index.js b/dist/index.js index f7471eb0..17eec80a 100644 --- a/dist/index.js +++ b/dist/index.js @@ -2361,10 +2361,8 @@ function build(filename, version, os_version) { return __awaiter(this, void 0, void 0, function* () { // taking inputs const extension_csv = (yield utils.getInput('extensions', false)) || - (yield utils.getInput('extension', false)) || - (yield utils.getInput('extension-csv', false)); - const ini_values_csv = (yield utils.getInput('ini-values', false)) || - (yield utils.getInput('ini-values-csv', false)); + (yield utils.getInput('extension', false)); + const ini_values_csv = yield utils.getInput('ini-values', false); const coverage_driver = yield utils.getInput('coverage', false); const pecl = yield utils.getInput('pecl', false); let tools_csv = yield utils.getInput('tools', false); diff --git a/src/install.ts b/src/install.ts index 22725157..9f6a214a 100644 --- a/src/install.ts +++ b/src/install.ts @@ -22,11 +22,8 @@ export async function build( // taking inputs const extension_csv: string = (await utils.getInput('extensions', false)) || - (await utils.getInput('extension', false)) || - (await utils.getInput('extension-csv', false)); - const ini_values_csv: string = - (await utils.getInput('ini-values', false)) || - (await utils.getInput('ini-values-csv', false)); + (await utils.getInput('extension', false)); + const ini_values_csv: string = await utils.getInput('ini-values', false); const coverage_driver: string = await utils.getInput('coverage', false); const pecl: string = await utils.getInput('pecl', false); let tools_csv: string = await utils.getInput('tools', false);