update workflow

This commit is contained in:
Yaronzz
2022-04-01 15:40:55 +08:00
parent 6870a8c37f
commit 9e9d47f470
+8 -8
View File
@@ -41,20 +41,20 @@ jobs:
pyinstaller -F tidal_dl/__init__.py -n tidal-dl
working-directory: TIDALDL-PY
- name: Build tidal-gui-Windows
if: runner.os == 'Windows'
- name: Build tidal-gui
shell: bash
run: |
cp -rf guiStatic.in MANIFEST.in
pyinstaller -D tidal_gui/__init__.py -w -n tidal-gui --add-data="tidal_gui/resource;resource"
pyinstaller -D tidal_gui/__init__.py -w -n tidal-gui
working-directory: TIDALDL-PY
- name: Build tidal-gui-Else
if: runner.os != 'Windows'
- name: Gzip tidal-gui
shell: bash
run: |
cp -rf guiStatic.in MANIFEST.in
pyinstaller -D tidal_gui/__init__.py -w -n tidal-gui --add-data="tidal_gui/resource:resource"
working-directory: TIDALDL-PY
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