From 946d3439fb3d8eb1558e436251adf441bec97024 Mon Sep 17 00:00:00 2001 From: Jacob Hageman Date: Wed, 16 Mar 2022 07:08:32 -0600 Subject: [PATCH 1/2] Fix #441, Update doc workflow OSAL directory --- .github/workflows/build-documentation.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build-documentation.yml b/.github/workflows/build-documentation.yml index e6f280883..94b0cce21 100644 --- a/.github/workflows/build-documentation.yml +++ b/.github/workflows/build-documentation.yml @@ -134,7 +134,7 @@ jobs: if: ${{ github.event_name == 'push' && contains(github.ref, 'main')}} run: | mkdir deploy - cd ./build/docs/osalguide/apiguide/latex + cd ./build/docs/osalguide/latex make > build.txt mv refman.pdf $GITHUB_WORKSPACE/deploy/OSAL_Users_Guide.pdf # Could add pandoc and convert to github markdown @@ -206,4 +206,4 @@ jobs: FOLDER: deploy CLEAN: false SINGLE_COMMIT: true - \ No newline at end of file + From ba6fe4c4b6c4f1c74b59eeef5c012e3e9c05a72d Mon Sep 17 00:00:00 2001 From: Jacob Hageman Date: Wed, 16 Mar 2022 11:17:33 -0600 Subject: [PATCH 2/2] Fix #441, Add detaildesign warning check and fix usersguide warning check logic --- .github/workflows/build-documentation.yml | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build-documentation.yml b/.github/workflows/build-documentation.yml index 94b0cce21..3bb64c35d 100644 --- a/.github/workflows/build-documentation.yml +++ b/.github/workflows/build-documentation.yml @@ -55,6 +55,8 @@ jobs: - name: Build Docs run: | make doc > make_doc_stdout.txt 2> make_doc_stderr.txt + mv build/docs/detaildesign-warnings.log detaildesign-warnings.log + # Upload documentation logs as artifacts - name: Archive Documentation Build Logs uses: actions/upload-artifact@v2 @@ -63,6 +65,8 @@ jobs: path: | make_doc_stdout.txt make_doc_stderr.txt + detaildesign-warnings.log + - name: Error Check run: | if [[ -s make_doc_stderr.txt ]]; then @@ -70,6 +74,13 @@ jobs: exit -1 fi + - name: Warning Check + run: | + if [[ -s detaildesign-warnings.log ]]; then + cat detaildesign-warnings.log + exit -1 + fi + build: needs: checks-for-duplicates if: ${{ needs.checks-for-duplicates.outputs.should_skip != 'true' }} @@ -143,7 +154,8 @@ jobs: - name: Build Usersguide run: | make usersguide > make_usersguide_stdout.txt 2> make_usersguide_stderr.txt - + mv build/docs/users_guide/cfe-usersguide-warnings.log cfe-usersguide-warnings.log + - name: Archive Users Guide Build Logs uses: actions/upload-artifact@v2 with: