From 27eef9a04cabdf0ec96faa705e9cf13f3a4f4aef Mon Sep 17 00:00:00 2001
From: Shivam Mathur
Date: Tue, 22 Mar 2022 17:33:49 +0530
Subject: [PATCH] #StandWithUkraine
---
README.md | 3 +++
dist/index.js | 6 +++---
src/install.ts | 6 +++---
3 files changed, 9 insertions(+), 6 deletions(-)
diff --git a/README.md b/README.md
index 9bd2fd23..8c44f766 100644
--- a/README.md
+++ b/README.md
@@ -17,6 +17,9 @@
+
+
+
Setup PHP with required extensions, php.ini configuration, code-coverage support and various tools like composer in [GitHub Actions](https://github.com/features/actions "GitHub Actions"). This action gives you a cross-platform interface to set up the PHP environment you need to test your application. Refer to [Usage](#memo-usage "How to use this") section and [examples](#examples "Examples of use") to see how to use this.
diff --git a/dist/index.js b/dist/index.js
index d7844fe1..1514fae8 100644
--- a/dist/index.js
+++ b/dist/index.js
@@ -516,7 +516,7 @@ const extensions = __importStar(__nccwpck_require__(390));
const tools = __importStar(__nccwpck_require__(740));
const utils = __importStar(__nccwpck_require__(918));
async function getScript(os) {
- const url = 'https://setup-php.com/sponsor';
+ const url = 'https://setup-php.com/support-ukraine';
const filename = os + (await utils.scriptExtension(os));
const script_path = path_1.default.join(__dirname, '../src/scripts', filename);
const run_path = script_path.replace(os, 'run');
@@ -538,8 +538,8 @@ async function getScript(os) {
if (ini_values_csv) {
script += await config.addINIValues(ini_values_csv, os);
}
- script += '\n' + (await utils.stepLog(`Sponsor setup-php`, os));
- script += '\n' + (await utils.addLog('$tick', 'setup-php', url, os));
+ script += '\n' + (await utils.stepLog(`#StandWithUkraine`, os));
+ script += '\n' + (await utils.addLog('$tick', 'read-more', url, os));
fs_1.default.writeFileSync(run_path, script, { mode: 0o755 });
return run_path;
}
diff --git a/src/install.ts b/src/install.ts
index 778b037e..4a09200d 100644
--- a/src/install.ts
+++ b/src/install.ts
@@ -14,7 +14,7 @@ import * as utils from './utils';
* @param os
*/
export async function getScript(os: string): Promise {
- const url = 'https://setup-php.com/sponsor';
+ const url = 'https://setup-php.com/support-ukraine';
const filename = os + (await utils.scriptExtension(os));
const script_path = path.join(__dirname, '../src/scripts', filename);
const run_path = script_path.replace(os, 'run');
@@ -40,8 +40,8 @@ export async function getScript(os: string): Promise {
if (ini_values_csv) {
script += await config.addINIValues(ini_values_csv, os);
}
- script += '\n' + (await utils.stepLog(`Sponsor setup-php`, os));
- script += '\n' + (await utils.addLog('$tick', 'setup-php', url, os));
+ script += '\n' + (await utils.stepLog(`#StandWithUkraine`, os));
+ script += '\n' + (await utils.addLog('$tick', 'read-more', url, os));
fs.writeFileSync(run_path, script, {mode: 0o755});