executable, run help

This commit is contained in:
Jesse Bannon 2023-02-22 23:47:52 -08:00
parent 099eeb3e7d
commit 98c0ea19e8

View file

@ -83,11 +83,9 @@ jobs:
# Build executable
pyinstaller ytdl-sub.spec
mkdir -p /opt/builds
chmod +x dist/ytdl-sub
dist/ytdl-sub -h
mv dist/ytdl-sub /opt/builds/ytdl-sub_linux
- name: Test Package
run: |
cd /opt/builds && ./ytdl-sub_linux view "https://www.youtube.com/watch?v=hxV9b-1hjfw"
- name: Save build to cache
uses: actions/cache@v3
with:
@ -125,7 +123,7 @@ jobs:
pip3 install pyinstaller
pyinstaller --log-level=DEBUG ytdl-sub.spec
mv dist/ytdl-sub /builds/ytdl-sub_${{ matrix.arch }}
cd /builds && ./ytdl-sub_${{ matrix.arch }} view "https://www.youtube.com/watch?v=hxV9b-1hjfw"
cd /builds && ./ytdl-sub_${{ matrix.arch }} -h
- name: Save build to cache
uses: actions/cache@v3