mirror of
https://github.com/danog/MadelineProto.git
synced 2024-11-30 04:08:59 +01:00
Cleanup build
This commit is contained in:
parent
1df7f7468d
commit
f28ef5bea2
4
.github/workflows/build.yml
vendored
4
.github/workflows/build.yml
vendored
@ -26,10 +26,6 @@ jobs:
|
||||
run: |
|
||||
echo "$HOME/.local/php/$PHP_VERSION" >> $GITHUB_PATH
|
||||
|
||||
- name: Wait for packagist
|
||||
run: |
|
||||
tests/waitPackagist.php
|
||||
|
||||
- name: Build
|
||||
env:
|
||||
API_ID: ${{ secrets.API_ID }}
|
||||
|
@ -63,6 +63,7 @@ echo '{
|
||||
}' > composer.json
|
||||
composer update --no-cache
|
||||
composer dumpautoload --optimize
|
||||
rm -rf vendor/phabel/phabel/tests* vendor/danog/madelineproto/docs
|
||||
cd ..
|
||||
|
||||
branch="-$BRANCH"
|
||||
|
@ -7,6 +7,10 @@ $tag = \trim(\shell_exec("git tag --points-at HEAD"));
|
||||
|
||||
echo "Waiting for commit $commit on branch $branch (tag $tag)...".PHP_EOL;
|
||||
|
||||
if (substr($tag, -5) === '.9999' || substr($tag, -5) === '.9998') {
|
||||
die;
|
||||
}
|
||||
|
||||
$branch = $tag ? $tag : "dev-$branch";
|
||||
|
||||
$cur = 0;
|
||||
|
Loading…
Reference in New Issue
Block a user