Skip to content

Commit e359744

Browse files
committed
Go: bring back qhelp in action
1 parent 12c28f3 commit e359744

File tree

2 files changed

+15
-15
lines changed

2 files changed

+15
-15
lines changed

.github/workflows/go-tests.yml

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -31,18 +31,3 @@ jobs:
3131
uses: ./go/actions/test
3232
with:
3333
run-code-checks: true
34-
35-
qhelp:
36-
name: Test qhelp conversion
37-
runs-on: ubuntu-latest
38-
steps:
39-
- name: Compile qhelp files to markdown
40-
shell: bash
41-
run: |
42-
cd go
43-
env QHELP_OUT_DIR=qhelp-out make qhelp-to-markdown
44-
- name: Upload qhelp markdown
45-
uses: actions/upload-artifact@v3
46-
with:
47-
name: qhelp-markdown
48-
path: go/qhelp-out/**/*.md

go/actions/test/action.yml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,21 @@ runs:
4949
cd go
5050
make check-formatting
5151
52+
- name: Compile qhelp files to markdown
53+
if: inputs.run-code-checks == 'true' && !cancelled()
54+
id: markdown
55+
shell: bash
56+
run: |
57+
cd go
58+
env QHELP_OUT_DIR=qhelp-out make qhelp-to-markdown
59+
60+
- name: Upload qhelp markdown
61+
if: inputs.run-code-checks == 'true' && !cancelled()
62+
uses: actions/upload-artifact@v3
63+
with:
64+
name: qhelp-markdown
65+
path: go/qhelp-out/**/*.md
66+
5267
- name: Cache compilation cache
5368
id: query-cache
5469
uses: ./.github/actions/cache-query-compilation

0 commit comments

Comments
 (0)