mirror of
https://github.com/darkzoul5/YoutubePlaylistSync.git
synced 2026-11-03 23:38:14 +02:00
Update build process to reference 'src' directory for packaging
This commit is contained in:
1 parent
8133f28488
commit
a68e21444e
2 files changed
+4
-4
No files matched your search
@@ -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: |
|
||||
|
||||
Reference in new issue
Block a user