Skip to content

Commit 3401b4a

Browse files
committed
Cache html-help-workshop
1 parent 2801003 commit 3401b4a

File tree

1 file changed

+9
-2
lines changed

1 file changed

+9
-2
lines changed

.github/workflows/b2s-designer.yml

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,9 +39,16 @@ jobs:
3939
msbuild B2SVPinMAMEStarter/B2SVPinMAMEStarter.sln /t:Rebuild /p:Configuration=${{ matrix.config }} "/p:Platform=${{ matrix.platform }}"
4040
msbuild b2sbackglassdesigner/B2SBackglassDesigner.sln /t:Rebuild /p:Configuration=${{ matrix.config }} "/p:Platform=${{ matrix.platform }}"
4141
shell: cmd
42-
- name: Help
42+
- name: Cache html-help-workshop
43+
uses: actions/cache@v4
44+
with:
45+
path: C:\ProgramData\chocolatey\lib\html-help-workshop
46+
key: html-help-workshop-${{ runner.os }}-v1
47+
- name: Install html-help-workshop
48+
if: steps.cache-html-help-workshop.outputs.cache-hit != 'true'
49+
run: choco install --yes --no-progress html-help-workshop
50+
- name: Build Help
4351
run: |
44-
choco install html-help-workshop
4552
"/c/Program Files (x86)/HTML Help Workshop/hhc.exe" "b2sbackglassdesigner/b2sbackglassdesigner/htmlhelp/B2SBackglassDesigner.hhp" || true
4653
- name: Bundle
4754
run: |

0 commit comments

Comments
 (0)