Skip to content

Commit

Permalink
IC:2021-06-15, HOTFIX, Docs CI workflow
Browse files Browse the repository at this point in the history
Update directories for osalguide and usersguide warning logfiles in
build-documentation.yml
  • Loading branch information
astrogeco committed Jun 17, 2021
1 parent 0e8d4df commit 2b3e659
Showing 1 changed file with 6 additions and 7 deletions.
13 changes: 6 additions & 7 deletions .github/workflows/build-documentation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,6 @@ jobs:
- name: Build Usersguide
run: |
make usersguide > make_usersguide_stdout.txt 2> make_usersguide_stderr.txt
mv build/doc/warnings.log usersguide_warnings.log
- name: Archive Users Guide Build Logs
uses: actions/upload-artifact@v2
Expand All @@ -111,7 +110,7 @@ jobs:
path: |
make_usersguide_stdout.txt
make_usersguide_stderr.txt
usersguide_warnings.log
cfe-usersguide-warnings.log
- name: Error Check
Expand All @@ -123,8 +122,8 @@ jobs:
- name: Warning Check
run: |
if [[ -s usersguide_warnings.log ]]; then
cat usersguide_warnings.log
if [[ -s cfe-usersguide-warnings.log ]]; then
cat cfe-usersguide-warnings.log
exit -1
fi
Expand All @@ -138,7 +137,7 @@ jobs:
run: |
set -x
mkdir deploy
cd ./build/doc/users_guide/latex
cd ./build/docs/users_guide/latex
make > build.txt
mv refman.pdf $GITHUB_WORKSPACE/deploy/cFE_Users_Guide.pdf
# Could add pandoc and convert to github markdown
Expand Down Expand Up @@ -186,7 +185,7 @@ jobs:
- name: Build OSAL Guide
run: |
make osalguide > make_osalguide_stdout.txt 2> make_osalguide_stderr.txt
mv build/doc/osalguide/osal-apiguide-warnings.log osal-apiguide-warnings.log
mv build/docs/osalguide/osal-apiguide-warnings.log osal-apiguide-warnings.log
- name: Archive Osal Guide Build Logs
Expand Down Expand Up @@ -222,7 +221,7 @@ jobs:
if: ${{ github.event_name == 'push' && contains(github.ref, 'main')}}
run: |
mkdir deploy
cd ./build/doc/osalguide/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
Expand Down

0 comments on commit 2b3e659

Please sign in to comment.