From e359744b8b2ef19cf902e38b2fba48a71ddc8003 Mon Sep 17 00:00:00 2001 From: Paolo Tranquilli Date: Wed, 8 May 2024 14:31:00 +0200 Subject: [PATCH] Go: bring back qhelp in action --- .github/workflows/go-tests.yml | 15 --------------- go/actions/test/action.yml | 15 +++++++++++++++ 2 files changed, 15 insertions(+), 15 deletions(-) diff --git a/.github/workflows/go-tests.yml b/.github/workflows/go-tests.yml index 9d139f8e788..63e2b7c4974 100644 --- a/.github/workflows/go-tests.yml +++ b/.github/workflows/go-tests.yml @@ -31,18 +31,3 @@ jobs: uses: ./go/actions/test with: run-code-checks: true - - qhelp: - name: Test qhelp conversion - runs-on: ubuntu-latest - steps: - - name: Compile qhelp files to markdown - shell: bash - run: | - cd go - env QHELP_OUT_DIR=qhelp-out make qhelp-to-markdown - - name: Upload qhelp markdown - uses: actions/upload-artifact@v3 - with: - name: qhelp-markdown - path: go/qhelp-out/**/*.md diff --git a/go/actions/test/action.yml b/go/actions/test/action.yml index 38568375b9d..7648d2ea2e8 100644 --- a/go/actions/test/action.yml +++ b/go/actions/test/action.yml @@ -49,6 +49,21 @@ runs: cd go make check-formatting + - name: Compile qhelp files to markdown + if: inputs.run-code-checks == 'true' && !cancelled() + id: markdown + shell: bash + run: | + cd go + env QHELP_OUT_DIR=qhelp-out make qhelp-to-markdown + + - name: Upload qhelp markdown + if: inputs.run-code-checks == 'true' && !cancelled() + uses: actions/upload-artifact@v3 + with: + name: qhelp-markdown + path: go/qhelp-out/**/*.md + - name: Cache compilation cache id: query-cache uses: ./.github/actions/cache-query-compilation