From 5eb0ae0dbcb08e1e0a67db5e627658bcb708563b Mon Sep 17 00:00:00 2001 From: bobokun Date: Sat, 23 Aug 2025 15:08:02 -0400 Subject: [PATCH] ci: include docs directory in PyInstaller build artifacts Add docs directory to both develop and version workflow builds to ensure documentation is bundled with the executable distribution. --- .github/workflows/develop.yml | 2 ++ .github/workflows/version.yml | 2 ++ 2 files changed, 4 insertions(+) diff --git a/.github/workflows/develop.yml b/.github/workflows/develop.yml index f471661..bd19c74 100644 --- a/.github/workflows/develop.yml +++ b/.github/workflows/develop.yml @@ -69,6 +69,7 @@ jobs: ADD_SAMPLE_CFG="config/config.yml.sample${{ steps.sep.outputs.SEP }}config" ADD_LOGO="icons/qbm_logo.png${{ steps.sep.outputs.SEP }}." ADD_VERSION="VERSION${{ steps.sep.outputs.SEP }}." + ADD_DOCS="docs${{ steps.sep.outputs.SEP }}docs" ICON_ARG="" if [[ "${{ runner.os }}" == "Windows" ]]; then ICON_ARG=--icon=icons/qbm_logo.ico @@ -90,6 +91,7 @@ jobs: --add-data "$ADD_SAMPLE_CFG" \ --add-data "$ADD_LOGO" \ --add-data "$ADD_VERSION" \ + --add-data "$ADD_DOCS" \ $ICON_ARG \ "${ENTRY}" diff --git a/.github/workflows/version.yml b/.github/workflows/version.yml index 4a25b83..3079e5c 100644 --- a/.github/workflows/version.yml +++ b/.github/workflows/version.yml @@ -68,6 +68,7 @@ jobs: ADD_SAMPLE_CFG="config/config.yml.sample${{ steps.sep.outputs.SEP }}config" ADD_LOGO="icons/qbm_logo.png${{ steps.sep.outputs.SEP }}." ADD_VERSION="VERSION${{ steps.sep.outputs.SEP }}." + ADD_DOCS="docs${{ steps.sep.outputs.SEP }}docs" ICON_ARG="" if [[ "${{ runner.os }}" == "Windows" ]]; then ICON_ARG=--icon=icons/qbm_logo.ico @@ -89,6 +90,7 @@ jobs: --add-data "$ADD_SAMPLE_CFG" \ --add-data "$ADD_LOGO" \ --add-data "$ADD_VERSION" \ + --add-data "$ADD_DOCS" \ $ICON_ARG \ "${ENTRY}"