mirror of
https://github.com/danog/MadelineProto.git
synced 2024-11-30 06:39:01 +01:00
Git fetch
This commit is contained in:
parent
740d43f9a2
commit
8212ab27e3
1
.github/workflows/build.yml
vendored
1
.github/workflows/build.yml
vendored
@ -15,7 +15,6 @@ jobs:
|
|||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v2
|
||||||
with:
|
with:
|
||||||
ssh-key: ${{ secrets.DEPLOY_KEY }}
|
ssh-key: ${{ secrets.DEPLOY_KEY }}
|
||||||
fetch-depth: 0
|
|
||||||
|
|
||||||
- name: Setup PHP ${{ matrix.php }}
|
- name: Setup PHP ${{ matrix.php }}
|
||||||
uses: shivammathur/setup-php@v2
|
uses: shivammathur/setup-php@v2
|
||||||
|
@ -4,6 +4,8 @@
|
|||||||
PHP_MAJOR_VERSION=$(php -r 'echo PHP_MAJOR_VERSION;')
|
PHP_MAJOR_VERSION=$(php -r 'echo PHP_MAJOR_VERSION;')
|
||||||
PHP_MINOR_VERSION=$(php -r 'echo PHP_MINOR_VERSION;')
|
PHP_MINOR_VERSION=$(php -r 'echo PHP_MINOR_VERSION;')
|
||||||
|
|
||||||
|
git fetch
|
||||||
|
|
||||||
BRANCH=$(git rev-parse --abbrev-ref HEAD)
|
BRANCH=$(git rev-parse --abbrev-ref HEAD)
|
||||||
TAG=$(git tag --points-at HEAD)
|
TAG=$(git tag --points-at HEAD)
|
||||||
COMMIT_MESSAGE="$(git log -1 --pretty=%B HEAD)"
|
COMMIT_MESSAGE="$(git log -1 --pretty=%B HEAD)"
|
||||||
|
Loading…
Reference in New Issue
Block a user