Update build process to reference 'src' directory for packaging

This commit is contained in:
2026-03-18 18:32:15 +02:00
parent 8133f28488
commit a68e21444e
2 changed files with 4 additions and 4 deletions
+3 -3
View File
@@ -81,7 +81,7 @@ jobs:
# Build .exe using PyInstaller
pip install pyinstaller
pyinstaller --onefile --name "yt-playlist-downloader" --add-data "ytpld;ytpld" yt-playlist-main.py
pyinstaller --onefile --name "yt-playlist-downloader" --add-data "src;ytpld" yt-playlist-main.py
Move-Item "dist/yt-playlist-downloader.exe" "dist/windows/yt-playlist-downloader.exe"
# Cleanup & Archive
@@ -144,8 +144,8 @@ jobs:
tar -xzf yt-playlist-linux-${{ steps.version.outputs.version }}.tar.gz
cp ../../Dockerfile .
cp ../../docker-entrypoint.sh .
# Ensure ytpld package is present
if [ ! -d "ytpld" ]; then cp -r ../../ytpld . ; fi
# Ensure ytpld package is present from src/
if [ ! -d "src" ]; then cp -r ../../src . ; fi
- name: Set docker image names
run: |
+1 -1
View File
@@ -4,7 +4,7 @@ WORKDIR /app
# Copy application code (package) and bootstrap
COPY yt-playlist-main.py /app/
COPY ytpld/ /app/ytpld/
COPY src/ /app/ytpld/
COPY config/ /app/config/
# Copy helper binaries from the build context (which includes extracted artifacts)