1
0
mirror of https://github.com/danog/MadelineProto.git synced 2024-11-30 06:39:01 +01:00
This commit is contained in:
Daniil Gentili 2021-03-30 21:20:36 +02:00
parent 41560ed29a
commit 5b7e03c58b
Signed by: danog
GPG Key ID: 8C1BE3B34B230CA7
2 changed files with 9 additions and 7 deletions

View File

@ -6,13 +6,13 @@ jobs:
strategy:
matrix:
php:
- 8.0
- 7.4
- 7.3
- 7.2
- 7.1
- 7.0
- 5.6
- '8.0'
- '7.4'
- '7.3'
- '7.2'
- '7.1'
- '7.0'
- '5.6'
name: PHP ${{ matrix.php }} build
env:
PHP_CS_FIXER_IGNORE_ENV: 1

View File

@ -5,6 +5,8 @@ $commit = getenv('GITHUB_SHA');
$branch = \trim(\shell_exec("git rev-parse --abbrev-ref $commit"));
$tag = \trim(\shell_exec("git tag --points-at $commit"));
echo "Waiting for commit $commit on branch $branch (tag $tag)...".PHP_EOL;
$branch = $tag ? $tag : "dev-$branch";
while (true) {