build chm

This commit is contained in:
Charlton, Scott R 2021-09-15 22:02:22 -06:00
parent ca348d2508
commit ef187a70e1

View File

@ -48,6 +48,12 @@ jobs:
runs-on: windows-latest runs-on: windows-latest
steps: steps:
- name: Checkout phreeqc3-HTMLversion
uses: actions/checkout@v2
with:
repository: usgs-coupled-subtrees/phreeqc3-HTMLversion
ref: master
- name: install - name: install
run: | run: |
curl -L -O http://web.archive.org/web/20160201063255/http://download.microsoft.com/download/0/A/9/0A939EF6-E31C-430F-A3DF-DFAE7960D564/htmlhelp.exe curl -L -O http://web.archive.org/web/20160201063255/http://download.microsoft.com/download/0/A/9/0A939EF6-E31C-430F-A3DF-DFAE7960D564/htmlhelp.exe
@ -63,14 +69,21 @@ jobs:
cmd /c start /wait .\tmp\setup.exe cmd /c start /wait .\tmp\setup.exe
Remove-Item -Recurse -Force .\tmp Remove-Item -Recurse -Force .\tmp
Remove-Item -Recurse -Force .\htmlhelp.exe Remove-Item -Recurse -Force .\htmlhelp.exe
$env:PATH="C:\Program Files (x86)\HTML Help Workshop;$env:PATH" echo 'C:\Program Files (x86)\HTML Help Workshop' >> $GITHUB_PATH
Get-Command hhc
- name: verify - name: verify
shell: bash
run: | run: |
$env:PATH="C:\Program Files (x86)\HTML Help Workshop;$env:PATH" pushd HTML
Get-Command hhc bash fixup_html.bash
hhc /? popd
hhc phreeqc3.hhp
- uses: actions/upload-artifact@v2
with:
name: chm
path: ${{github.workspace}}/phreeqc3.chm
# check: # check:
# needs: [init] # needs: [init]