mirror of
https://github.com/qTox/qTox.git
synced 2024-03-22 14:00:36 +08:00
chore(CI): Revert 8a72928ad1
"chore(travis): don't fail generating docs when there's no git version" No longer a concern on GH actions which allows deep clones.
This commit is contained in:
parent
17c4ad4ba7
commit
3f2d953473
2
.github/workflows/build-test-deploy.yaml
vendored
2
.github/workflows/build-test-deploy.yaml
vendored
|
@ -506,6 +506,8 @@ jobs:
|
||||||
DOXYGEN_CONFIG_FILE: doxygen.conf
|
DOXYGEN_CONFIG_FILE: doxygen.conf
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
|
with:
|
||||||
|
fetch-depth: 0
|
||||||
- name: Run
|
- name: Run
|
||||||
run: ./.travis/build-docs.sh
|
run: ./.travis/build-docs.sh
|
||||||
build-gitstats:
|
build-gitstats:
|
||||||
|
|
|
@ -23,8 +23,7 @@ set -eu -o pipefail
|
||||||
sudo apt-get update -qq
|
sudo apt-get update -qq
|
||||||
sudo apt-get install doxygen graphviz
|
sudo apt-get install doxygen graphviz
|
||||||
|
|
||||||
# can fail due to travis cloning only `depth=50`
|
GIT_DESC=$(git describe --tags 2>/dev/null)
|
||||||
GIT_DESC=$(git describe --tags 2>/dev/null || echo HEAD)
|
|
||||||
GIT_CHASH=$(git rev-parse HEAD)
|
GIT_CHASH=$(git rev-parse HEAD)
|
||||||
|
|
||||||
# Append git version to doxygen version string
|
# Append git version to doxygen version string
|
||||||
|
|
Loading…
Reference in New Issue
Block a user