executable, run help
This commit is contained in:
parent
099eeb3e7d
commit
98c0ea19e8
1 changed files with 3 additions and 5 deletions
8
.github/workflows/release.yaml
vendored
8
.github/workflows/release.yaml
vendored
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue