mirror of
https://git.gfz-potsdam.de/naaice/iphreeqc.git
synced 2025-12-16 08:38:23 +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)
|
||||
# echo 'C:\Program Files (x86)\HTML Help Workshop' >> $GITHUB_PATH
|
||||
|
||||
- name: verify
|
||||
- name: compile chm
|
||||
shell: bash
|
||||
run: |
|
||||
pushd HTML
|
||||
bash fixup_html.bash
|
||||
popd
|
||||
'C:\Program Files (x86)\HTML Help Workshop\hhc' phreeqc3.hhp
|
||||
popd
|
||||
# hhc returns 1 on success
|
||||
'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
|
||||
else
|
||||
echo "[FAILED]"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
- uses: actions/upload-artifact@v2
|
||||
with:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user