mirror of
https://github.com/shivammathur/setup-php.git
synced 2025-07-22 23:03:28 +07:00
Bump version to 2.28.0
Update Node.js dependencies
This commit is contained in:
6
dist/index.js
vendored
6
dist/index.js
vendored
@ -550,7 +550,7 @@ const extensions = __importStar(__nccwpck_require__(3390));
|
||||
const tools = __importStar(__nccwpck_require__(7740));
|
||||
const utils = __importStar(__nccwpck_require__(918));
|
||||
async function getScript(os) {
|
||||
const url = 'https://setup-php.com/support-ukraine';
|
||||
const url = 'https://setup-php.com/sponsor';
|
||||
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');
|
||||
@ -572,8 +572,8 @@ async function getScript(os) {
|
||||
if (ini_values_csv) {
|
||||
script += await config.addINIValues(ini_values_csv, os);
|
||||
}
|
||||
script += '\n' + (await utils.stepLog(`#StandWithUkraine`, os));
|
||||
script += '\n' + (await utils.addLog('$tick', 'read-more', url, os));
|
||||
script += '\n' + (await utils.stepLog(`Sponsor setup-php`, os));
|
||||
script += '\n' + (await utils.addLog('$tick', 'setup-php', url, os));
|
||||
fs_1.default.writeFileSync(run_path, script, { mode: 0o755 });
|
||||
return run_path;
|
||||
}
|
||||
|
Reference in New Issue
Block a user