diff --git a/.github/workflows/build-vcpkg.yml b/.github/workflows/build-vcpkg.yml index 7dd3484b180..6e8d72814a6 100644 --- a/.github/workflows/build-vcpkg.yml +++ b/.github/workflows/build-vcpkg.yml @@ -16,6 +16,11 @@ on: description: 'Operating System' required: false default: 'ubuntu-22.04' + docs: + type: boolean + description: 'Build Documentation (skips platform build)' + required: false + default: false ln: type: boolean description: 'Internal Build' @@ -48,7 +53,7 @@ on: jobs: build-workflow-dispatch: - if: ${{ contains('workflow_dispatch', github.event_name) }} + if: ${{ contains('workflow_dispatch', github.event_name) && inputs.docs != true }} uses: ./.github/workflows/build-docker.yml with: os: ${{ inputs.os }} @@ -57,6 +62,17 @@ jobs: asset-name: 'docker-package' secrets: inherit + build-workflow-dispatch-docs: + if: ${{ contains('workflow_dispatch', github.event_name) && inputs.docs == true }} + uses: ./.github/workflows/build-gh_runner.yml + with: + os: ${{ inputs.os }} + ln: false + upload-package: false + asset-name: '' + cmake-configuration-ex: '-DMAKE_DOCS_ONLY=ON' + secrets: inherit + test-workflow-dispatch: if: ${{ contains('workflow_dispatch', github.event_name) && inputs.smoketest == true }} needs: build-workflow-dispatch @@ -161,6 +177,14 @@ jobs: os: ubuntu-22.04 secrets: inherit + build-gh_runner-ubuntu-22_04-docs: + if: ${{ contains('schedule,push', github.event_name) }} + uses: ./.github/workflows/build-gh_runner.yml + with: + os: ubuntu-22.04 + cmake-configuration-ex: '-DMAKE_DOCS_ONLY=ON' + secrets: inherit + build-gh_runner-ubuntu-20_04: if: ${{ contains('schedule,push', github.event_name) }} uses: ./.github/workflows/build-gh_runner.yml