mirror of
https://git.gfz-potsdam.de/naaice/iphreeqc.git
synced 2025-12-16 16:44:49 +01:00
fixed hhc exit code check
This commit is contained in:
parent
ff0cac0151
commit
e6ec04d9d4
13
.github/workflows/cmake.yml
vendored
13
.github/workflows/cmake.yml
vendored
@ -72,15 +72,22 @@ jobs:
|
|||||||
# the next line doesn't seem to work (supposed to set the path)
|
# the next line doesn't seem to work (supposed to set the path)
|
||||||
# echo 'C:\Program Files (x86)\HTML Help Workshop' >> $GITHUB_PATH
|
# echo 'C:\Program Files (x86)\HTML Help Workshop' >> $GITHUB_PATH
|
||||||
|
|
||||||
- name: verify
|
- name: compile chm
|
||||||
shell: bash
|
shell: bash
|
||||||
run: |
|
run: |
|
||||||
pushd HTML
|
pushd HTML
|
||||||
bash fixup_html.bash
|
bash fixup_html.bash
|
||||||
popd
|
popd
|
||||||
'C:\Program Files (x86)\HTML Help Workshop\hhc' phreeqc3.hhp
|
# hhc returns 1 on success
|
||||||
popd
|
'C:\Program Files (x86)\HTML Help Workshop\hhc' phreeqc3.hhp | tee hhc.out
|
||||||
|
status=${PIPESTATUS[0]}
|
||||||
|
if [ $status -eq 1 ]; then
|
||||||
|
echo "[OK]"
|
||||||
exit 0
|
exit 0
|
||||||
|
else
|
||||||
|
echo "[FAILED]"
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
|
||||||
- uses: actions/upload-artifact@v2
|
- uses: actions/upload-artifact@v2
|
||||||
with:
|
with:
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user