From 4b8f328060ed91959289a400012120f47706c95a Mon Sep 17 00:00:00 2001 From: ArielSAdamsNASA Date: Wed, 7 Jul 2021 10:52:22 -0500 Subject: [PATCH] Fix #286, Documentation Duplicate Check --- .github/workflows/build-documentation.yml | 27 +++++++++++++++++------ 1 file changed, 20 insertions(+), 7 deletions(-) diff --git a/.github/workflows/build-documentation.yml b/.github/workflows/build-documentation.yml index 851206dc1..0e8bf3c4c 100644 --- a/.github/workflows/build-documentation.yml +++ b/.github/workflows/build-documentation.yml @@ -71,9 +71,9 @@ jobs: fi build-usersguide: - # Name the Job needs: checks-for-duplicates if: ${{ needs.checks-for-duplicates.outputs.should_skip != 'true' }} + # Name the Job name: Users Guide # Set the type of machine to run on runs-on: ubuntu-18.04 @@ -92,7 +92,7 @@ jobs: cp ./cfe/cmake/Makefile.sample Makefile cp -r ./cfe/cmake/sample_defs sample_defs - # Setup the build system + # Setup the build system - name: Make Prep run: make prep @@ -113,7 +113,6 @@ jobs: make_usersguide_stderr.txt usersguide_warnings.log - - name: Error Check run: | if [[ -s make_usersguide_stderr.txt ]]; then @@ -128,6 +127,15 @@ jobs: exit -1 fi + pdf-usersguide: + needs: build-usersguide + # Name the Job + name: PDF Users Guide + # Set the type of machine to run on + runs-on: ubuntu-18.04 + + steps: + - name: PDF generation installs if: ${{ github.event_name == 'push' && contains(github.ref, 'main')}} run: | @@ -155,9 +163,9 @@ jobs: SINGLE_COMMIT: true build-osalguide: - # Name the Job needs: checks-for-duplicates if: ${{ needs.checks-for-duplicates.outputs.should_skip != 'true' }} + # Name the Job name: Osal Guide # Set the type of machine to run on runs-on: ubuntu-18.04 @@ -176,7 +184,7 @@ jobs: cp ./cfe/cmake/Makefile.sample Makefile cp -r ./cfe/cmake/sample_defs sample_defs - # Setup the build system + # Setup the build system - name: Make Prep run: make prep @@ -188,7 +196,6 @@ jobs: make osalguide > make_osalguide_stdout.txt 2> make_osalguide_stderr.txt mv build/doc/osalguide/osal-apiguide-warnings.log osal-apiguide-warnings.log - - name: Archive Osal Guide Build Logs uses: actions/upload-artifact@v2 with: @@ -198,7 +205,6 @@ jobs: make_osalguide_stderr.txt osal-apiguide-warnings.log - - name: Error Check run: | if [[ -s make_osalguide_stderr.txt ]]; then @@ -213,6 +219,13 @@ jobs: exit -1 fi + pdf-osalguide: + needs: build-osalguide + # Name the Job + name: PDF Osal Guide + # Set the type of machine to run on + runs-on: ubuntu-18.04 + steps: - name: PDF generation installs if: ${{ github.event_name == 'push' && contains(github.ref, 'main')}} run: |