mirror of
https://github.com/yaronzz/Tidal-Media-Downloader.git
synced 2026-08-03 13:27:04 +03:00
update workflow
This commit is contained in:
@@ -8,8 +8,7 @@ jobs:
|
||||
|
||||
strategy:
|
||||
matrix:
|
||||
os: [macos-latest]
|
||||
# os: [macos-latest, ubuntu-latest, windows-latest]
|
||||
os: [macos-latest, ubuntu-latest, windows-latest]
|
||||
|
||||
steps:
|
||||
- name: Checkout repo
|
||||
@@ -41,20 +40,31 @@ jobs:
|
||||
pyinstaller -F tidal_dl/__init__.py -n tidal-dl
|
||||
working-directory: TIDALDL-PY
|
||||
|
||||
- name: Build tidal-gui-macOs
|
||||
shell: bash
|
||||
if: ${{ matrix.os == 'macos-latest' }}
|
||||
run: |
|
||||
cp -rf guiStatic.in MANIFEST.in
|
||||
pyinstaller -F tidal_gui/__init__.py -w -n tidal-gui
|
||||
cp -rf tidal_gui/resource dist/tidal-gui/
|
||||
working-directory: TIDALDL-PY
|
||||
|
||||
- name: Build tidal-gui
|
||||
shell: bash
|
||||
if: ${{ matrix.os != 'macos-latest' }}
|
||||
run: |
|
||||
cp -rf guiStatic.in MANIFEST.in
|
||||
pyinstaller -D tidal_gui/__init__.py -w -n tidal-gui
|
||||
working-directory: TIDALDL-PY
|
||||
|
||||
# - name: Gzip tidal-gui
|
||||
# shell: bash
|
||||
# run: |
|
||||
# cp -rf ../tidal_gui/resource ./tidal-gui/
|
||||
# tar -zcvf tidal-gui.tar.gz tidal-gui
|
||||
# rm -rf tidal-gui
|
||||
# working-directory: TIDALDL-PY/dist
|
||||
- name: Gzip tidal-gui
|
||||
shell: bash
|
||||
if: ${{ matrix.os != 'macos-latest' }}
|
||||
run: |
|
||||
cp -rf ../tidal_gui/resource ./tidal-gui/
|
||||
tar -zcvf tidal-gui.tar.gz tidal-gui
|
||||
rm -rf tidal-gui
|
||||
working-directory: TIDALDL-PY/dist
|
||||
|
||||
- name: Upload artifact
|
||||
uses: actions/upload-artifact@v2
|
||||
|
||||
Reference in New Issue
Block a user