mirror of
https://github.com/StuffAnThings/qbit_manage.git
synced 2025-11-08 07:20:59 +08:00
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:
parent
5baf943e27
commit
5eb0ae0dbc
2 changed files with 4 additions and 0 deletions
2
.github/workflows/develop.yml
vendored
2
.github/workflows/develop.yml
vendored
|
|
@ -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}"
|
||||
|
||||
|
|
|
|||
2
.github/workflows/version.yml
vendored
2
.github/workflows/version.yml
vendored
|
|
@ -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}"
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue