fix build number cannot increment when api docs not modified

This commit is contained in:
sunxyw 2022-04-29 12:35:02 +08:00
parent 0a7c5f06c6
commit 0d9711e62d
No known key found for this signature in database
GPG Key ID: CEA01A083E98C578

View File

@ -42,9 +42,12 @@ jobs:
run: "composer install --prefer-dist --no-progress --optimize-autoloader"
- name: Generate API Docs
id: generate-api-docs
continue-on-error: true
run: bin/gendoc
- name: Commit api docs
if: steps.generate-api-docs.outcome == 'success'
run: |
git config --global user.name 'Github Build Bot'
git config --global user.email 'noreply@github.com'