Skip to content

Commit

Permalink
Upgrading swoole/ide-helper (4.5.7 => 4.5.8)
Browse files Browse the repository at this point in the history
  • Loading branch information
el7cosmos committed Nov 25, 2020
1 parent ddd90ce commit 4863cfd
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/php.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
run: 'composer install --working-dir=vendor/swoole/ide-helper'
-
id: generate
uses: 'docker://phpswoole/swoole:4.5.7-php7.3'
uses: 'docker://phpswoole/swoole:4.5.8-php7.3'
with:
args: vendor/swoole/ide-helper/bin/generator.php
-
Expand Down
4 changes: 2 additions & 2 deletions META-INF/plugin.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,15 @@
<idea-plugin>
<id>me.elabee.idea.plugin.swoole</id>
<name>Swoole IDE Helper</name>
<version>4.5.7</version>
<version>4.5.8</version>
<vendor email="[email protected]" url="https://elabee.me">Luhur Abdi Rizal</vendor>

<description><![CDATA[
IDE help files for Swoole.
]]></description>

<change-notes><![CDATA[
PHP stubs for <a href="https://github.com/swoole/swoole-src/releases/tag/v4.5.7">Swoole 4.5.7</a>.
PHP stubs for <a href="https://github.com/swoole/swoole-src/releases/tag/v4.5.8">Swoole 4.5.8</a>.
]]></change-notes>

<idea-version since-build="173.0"/>
Expand Down
12 changes: 6 additions & 6 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/ComposerScript.php
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ public static function postPackageUpdate(PackageEvent $event)
$yaml = Yaml::parseFile($action);
foreach ($yaml['jobs']['build']['steps'] as $i => $step) {
if (isset($step['id']) && $step['id'] === 'generate') {
$yaml['jobs']['build']['steps'][$i]['uses'] = "docker://phpswoole/swoole:${version}-php7.1";
$yaml['jobs']['build']['steps'][$i]['uses'] = "docker://phpswoole/swoole:${version}-php7.3";
}
}
file_put_contents($action, Yaml::dump($yaml, PHP_INT_MAX, 2));
Expand Down

0 comments on commit 4863cfd

Please sign in to comment.