🛠️ Release GUI fix Windows poetry.

This commit is contained in:
Robert Honz
2023-12-20 12:46:04 +01:00
parent 78f57637af
commit 8f2798fb9b
2 changed files with 19 additions and 10 deletions
+17 -8
View File
@@ -108,7 +108,7 @@ jobs:
source .venv/bin/activate && source .venv/bin/activate &&
poetry run make gui-macos && poetry run make gui-macos &&
cd dist && cd dist &&
zip -r ${{needs.compute.outputs.OUT_NAME_FILE}}_${{needs.compute.outputs.ARCH_MACOS_X64}}_${{needs.compute.outputs.ASSET_EXTENSION}} ${{needs.compute.outputs.OUT_NAME_FILE}}.dmg -x "*.DS_Store" && zip -r ${{needs.compute.outputs.OUT_NAME_FILE}}_${{needs.compute.outputs.ARCH_MACOS_X64}}${{needs.compute.outputs.ASSET_EXTENSION}} ${{needs.compute.outputs.OUT_NAME_FILE}}.dmg -x "*.DS_Store" &&
cd .. cd ..
# TODO: Use M1 runner. # TODO: Use M1 runner.
# - os: "macos-13" # - os: "macos-13"
@@ -127,18 +127,19 @@ jobs:
source .venv/bin/activate && source .venv/bin/activate &&
poetry run make gui && poetry run make gui &&
cd dist && cd dist &&
zip -r ${{needs.compute.outputs.OUT_NAME_FILE}}_${{needs.compute.outputs.ARCH_LINUX_X64}}_${{needs.compute.outputs.ASSET_EXTENSION}} ${{needs.compute.outputs.OUT_NAME_FILE}} && zip -r ${{needs.compute.outputs.OUT_NAME_FILE}}_${{needs.compute.outputs.ARCH_LINUX_X64}}${{needs.compute.outputs.ASSET_EXTENSION}} ${{needs.compute.outputs.OUT_NAME_FILE}} &&
cd .. cd ..
- os: "windows-2019" - os: "windows-2019"
TARGET: "windows-2019" TARGET: "windows-2019"
OS_ARCH: ${{needs.compute.outputs.ARCH_WINDOWS_X64}} OS_ARCH: ${{needs.compute.outputs.ARCH_WINDOWS_X64}}
CMD_BUILD: > CMD_BUILD: >
choco feature enable -n=allowGlobalConfirmation choco feature enable -n=allowGlobalConfirmation
choco install zip make choco install zip
source .venv/bin/activate && choco install make
C:/Users/runneradmin/.local/bin/poetry run make gui && source .venv/scripts/activate &&
C:\Users\runneradmin\.local\bin\poetry run make gui &&
cd dist && cd dist &&
zip -r ${{needs.compute.outputs.OUT_NAME_FILE}}_${{needs.compute.outputs.ARCH_WINDOWS_X64}}_${{needs.compute.outputs.ASSET_EXTENSION}} ${{needs.compute.outputs.OUT_NAME_FILE}}.exe && zip -r ${{needs.compute.outputs.OUT_NAME_FILE}}_${{needs.compute.outputs.ARCH_WINDOWS_X64}}${{needs.compute.outputs.ASSET_EXTENSION}} ${{needs.compute.outputs.OUT_NAME_FILE}}.exe &&
cd .. cd ..
runs-on: ${{ matrix.os }} runs-on: ${{ matrix.os }}
steps: steps:
@@ -161,8 +162,16 @@ jobs:
with: with:
path: .venv path: .venv
key: venv-${{ runner.os }}-${{ steps.setup-python.outputs.python-version }}-${{ hashFiles('**/poetry.lock') }} key: venv-${{ runner.os }}-${{ steps.setup-python.outputs.python-version }}-${{ hashFiles('**/poetry.lock') }}
- name: Install dependencies - name: Install dependencies Windows
run: C:/Users/runneradmin/.local/bin/poetry install --no-interaction --all-extras --with dev run: |
source .venv/scripts/activate
poetry install --no-interaction --all-extras --with dev
if: runner.os == 'Windows'
- name: Install dependencies NOT Windows
run: |
source .venv/bin/activate
poetry install --no-interaction --all-extras --with dev
if: runner.os != 'Windows'
- name: Build with pyinstaller for ${{matrix.TARGET}} - name: Build with pyinstaller for ${{matrix.TARGET}}
run: ${{matrix.CMD_BUILD}} run: ${{matrix.CMD_BUILD}}
- name: Load Release URL File from release job - name: Load Release URL File from release job
+2 -2
View File
@@ -1,6 +1,6 @@
[project] [project]
name = "tidal-dl-ng" name = "tidal-dl-ng"
version = "0.4.22" version = "0.4.23"
description = "TIDAL Medial Downloader Next Generation!" description = "TIDAL Medial Downloader Next Generation!"
authors = ["Robert Honz <cen.sored@gmail.com>"] authors = ["Robert Honz <cen.sored@gmail.com>"]
repository = "https://github.com/exislow/tidal-dl-ng" repository = "https://github.com/exislow/tidal-dl-ng"
@@ -13,7 +13,7 @@ packages = [
[tool.poetry] [tool.poetry]
name = "tidal-dl-ng" name = "tidal-dl-ng"
authors = ["Robert Honz <cen.sored@gmail.com>"] authors = ["Robert Honz <cen.sored@gmail.com>"]
version = "0.4.22" version = "0.4.23"
description = "TIDAL Medial Downloader Next Generation!" description = "TIDAL Medial Downloader Next Generation!"
repository = "https://github.com/exislow/tidal-dl-ng" repository = "https://github.com/exislow/tidal-dl-ng"
documentation = "https://exislow.github.io/tidal-dl-ng/" documentation = "https://exislow.github.io/tidal-dl-ng/"