mirror of
https://github.com/danog/MadelineProto.git
synced 2024-12-02 12:17:47 +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: |
|
run: |
|
||||||
echo "$HOME/.local/php/$PHP_VERSION" >> $GITHUB_PATH
|
echo "$HOME/.local/php/$PHP_VERSION" >> $GITHUB_PATH
|
||||||
|
|
||||||
- name: Wait for packagist
|
|
||||||
run: |
|
|
||||||
tests/waitPackagist.php
|
|
||||||
|
|
||||||
- name: Build
|
- name: Build
|
||||||
env:
|
env:
|
||||||
API_ID: ${{ secrets.API_ID }}
|
API_ID: ${{ secrets.API_ID }}
|
||||||
|
@ -63,6 +63,7 @@ echo '{
|
|||||||
}' > composer.json
|
}' > composer.json
|
||||||
composer update --no-cache
|
composer update --no-cache
|
||||||
composer dumpautoload --optimize
|
composer dumpautoload --optimize
|
||||||
|
rm -rf vendor/phabel/phabel/tests* vendor/danog/madelineproto/docs
|
||||||
cd ..
|
cd ..
|
||||||
|
|
||||||
branch="-$BRANCH"
|
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;
|
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";
|
$branch = $tag ? $tag : "dev-$branch";
|
||||||
|
|
||||||
$cur = 0;
|
$cur = 0;
|
||||||
|
Loading…
Reference in New Issue
Block a user