mirror of
https://github.com/yaronzz/Tidal-Media-Downloader.git
synced 2026-06-13 12:15:12 +03:00
50 lines
1.1 KiB
YAML
50 lines
1.1 KiB
YAML
name: Tidal Media Downloader
|
|
|
|
on: [push, pull_request]
|
|
|
|
jobs:
|
|
Prepare:
|
|
name: Prepare
|
|
runs-on: windows-latest
|
|
|
|
steps:
|
|
- name: Checkout repo
|
|
uses: actions/checkout@v2
|
|
with:
|
|
fetch-depth: 0
|
|
|
|
- name: Install dependencies
|
|
run: |
|
|
pip3 install wheel
|
|
pip3 install pyinstaller
|
|
pip3 install PyQt5
|
|
pip3 install -r requirements.txt --upgrade
|
|
working-directory: TIDALDL-PY
|
|
|
|
Build:
|
|
name: Build tidal-dl\tidal-gui
|
|
needs: Prepare
|
|
runs-on: windows-latest
|
|
|
|
steps:
|
|
- name: Build tidal-dl
|
|
run: |
|
|
pyinstaller -F tidal_dl/__init__.py
|
|
mv dist/__init__.exe exe/tidal-dl.exe
|
|
working-directory: TIDALDL-PY
|
|
|
|
- name: Build tidal-gui
|
|
run: |
|
|
cp -force guiStatic.in MANIFEST.in
|
|
pyinstaller -F tidal_gui/__init__.py -w
|
|
mv dist/__init__.exe exe/tidal-gui.exe
|
|
working-directory: TIDALDL-PY
|
|
|
|
- name: Upload artifact
|
|
uses: actions/upload-artifact@v2
|
|
with:
|
|
name: software
|
|
path: |
|
|
TIDALDL-PY\exe\tidal-dl.exe
|
|
TIDALDL-PY\exe\tidal-gui.exe
|
|
|