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.
This commit is contained in:
bobokun 2025-08-23 15:08:02 -04:00
parent 5baf943e27
commit 5eb0ae0dbc
No known key found for this signature in database
GPG key ID: B73932169607D927
2 changed files with 4 additions and 0 deletions

View file

@ -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}"

View file

@ -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}"