Skip to content

Commit 38d2e45

Browse files
committed
[repo] Store run logs as artefacts for debugging
1 parent a939bd0 commit 38d2e45

File tree

3 files changed

+9
-1
lines changed

3 files changed

+9
-1
lines changed

.github/workflows/publish-apidocs.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,3 +43,10 @@ jobs:
4343
github_token: ${{ secrets.GITHUB_TOKEN }}
4444
publish_dir: ./build
4545
cname: phpdoc.moodledev.io
46+
47+
- name: Archive build ogs
48+
if: always()
49+
uses: actions/upload-artifact@v4
50+
with:
51+
name: Build logs
52+
path: logs

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
build
22
Doxygen.*
3+
logs

scripts/generate_phpdoc.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,4 +87,4 @@ echo " - Project brief: ${PROJECT_BRIEF}"
8787
echo " - Using Doxyfile: ${DOXYFILE}"
8888

8989
mkdir -p "${OUTPUT}" "${BUILDLOGS}"
90-
(cat "${PHPDOCROOT}/${DOXYFILE}"; echo @INCLUDE = "${INCLUDEFILE}") | doxygen - > "${BUILDLOGS}/Doxygen.out" 2>&1
90+
(cat "${PHPDOCROOT}/${DOXYFILE}"; echo @INCLUDE = "${INCLUDEFILE}") | doxygen - > "${BUILDLOGS}/${VERSION}.out" 2>&1

0 commit comments

Comments
 (0)