mirror of
https://github.com/zhamao-robot/zhamao-framework.git
synced 2026-03-17 20:54:52 +08:00
fix build number cannot increment when api docs not modified
This commit is contained in:
parent
0a7c5f06c6
commit
0d9711e62d
3
.github/workflows/increment-build-number.yml
vendored
3
.github/workflows/increment-build-number.yml
vendored
@ -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'
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user