mirror of
https://github.com/danog/MadelineProto.git
synced 2025-01-22 15:51:15 +01:00
Fix builds
This commit is contained in:
parent
a6a41e19fe
commit
b93027e5df
3
.github/workflows/build.yml
vendored
3
.github/workflows/build.yml
vendored
@ -27,6 +27,9 @@ jobs:
|
||||
run: |
|
||||
echo "$HOME/.local/php/$PHP_VERSION" >> $GITHUB_PATH
|
||||
|
||||
- name: Set env
|
||||
run: echo "TAG=${GITHUB_REF#refs/*/}" >> $GITHUB_ENV
|
||||
|
||||
- name: Build
|
||||
env:
|
||||
API_ID: ${{ secrets.API_ID }}
|
||||
|
@ -7,7 +7,7 @@ php=$PHP_MAJOR_VERSION$PHP_MINOR_VERSION
|
||||
|
||||
COMMIT="$(git log -1 --pretty=%H)"
|
||||
BRANCH=$(git rev-parse --abbrev-ref HEAD)
|
||||
TAG=$(git tag --points-at $COMMIT | grep -v '\.9999')
|
||||
#TAG=$(git tag --points-at $COMMIT | grep -v '\.9999')
|
||||
COMMIT_MESSAGE="$(git log -1 --pretty=%B HEAD)"
|
||||
|
||||
[[ "$TAG" == *.9999 ]] && exit 0
|
||||
|
Loading…
x
Reference in New Issue
Block a user