🛠️ Removed debug and activated M1 runner.
This commit is contained in:
@@ -80,6 +80,7 @@ jobs:
|
|||||||
run: poetry run mkdocs gh-deploy --force
|
run: poetry run mkdocs gh-deploy --force
|
||||||
compute:
|
compute:
|
||||||
# Workaround to be able to use variables in matrix.
|
# Workaround to be able to use variables in matrix.
|
||||||
|
# See: https://stackoverflow.com/questions/74072206/github-actions-use-variables-in-matrix-definition
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
outputs:
|
outputs:
|
||||||
ASSET_EXTENSION: ${{ env.ASSET_EXTENSION }}
|
ASSET_EXTENSION: ${{ env.ASSET_EXTENSION }}
|
||||||
@@ -114,16 +115,15 @@ jobs:
|
|||||||
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.
|
- os: "macos-latest-xlarge"
|
||||||
# - os: "macos-latest-xlarge"
|
TARGET: "macos-latest-xlarge M1"
|
||||||
# TARGET: "macos-latest-xlarge"
|
CMD_BUILD: >
|
||||||
# CMD_BUILD: >
|
brew install create-dmg &&
|
||||||
# brew install create-dmg &&
|
source $VENV &&
|
||||||
# source .venv/bin/activate &&
|
poetry run make gui-macos APP_NAME=${{needs.compute.outputs.OUT_NAME_FILE}} &&
|
||||||
# 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.ASSET_EXTENSION}} ${{needs.compute.outputs.OUT_NAME_FILE}}.dmg -x "*.DS_Store" &&
|
cd ..
|
||||||
# cd ..
|
|
||||||
- os: "ubuntu-20.04"
|
- os: "ubuntu-20.04"
|
||||||
TARGET: "ubuntu-20.04"
|
TARGET: "ubuntu-20.04"
|
||||||
OS_ARCH: ${{needs.compute.outputs.ARCH_LINUX_X64}}
|
OS_ARCH: ${{needs.compute.outputs.ARCH_LINUX_X64}}
|
||||||
@@ -138,7 +138,6 @@ jobs:
|
|||||||
OS_ARCH: ${{needs.compute.outputs.ARCH_WINDOWS_X64}}
|
OS_ARCH: ${{needs.compute.outputs.ARCH_WINDOWS_X64}}
|
||||||
CMD_BUILD: >
|
CMD_BUILD: >
|
||||||
choco install zip make -y &&
|
choco install zip make -y &&
|
||||||
ls &&
|
|
||||||
source $VENV &&
|
source $VENV &&
|
||||||
poetry run make gui APP_NAME=${{needs.compute.outputs.OUT_NAME_FILE}} &&
|
poetry run make gui APP_NAME=${{needs.compute.outputs.OUT_NAME_FILE}} &&
|
||||||
cd dist &&
|
cd dist &&
|
||||||
@@ -179,6 +178,7 @@ jobs:
|
|||||||
VALUE=`cat ${{env.RELEASE_UPLOAD_URL}}/${{env.RELEASE_UPLOAD_URL}}.txt`
|
VALUE=`cat ${{env.RELEASE_UPLOAD_URL}}/${{env.RELEASE_UPLOAD_URL}}.txt`
|
||||||
echo "upload_url=$VALUE" >> $GITHUB_OUTPUT
|
echo "upload_url=$VALUE" >> $GITHUB_OUTPUT
|
||||||
- name: Upload Release Asset
|
- name: Upload Release Asset
|
||||||
|
# TODO: Switch to https://github.com/softprops/action-gh-release
|
||||||
id: upload-release-asset
|
id: upload-release-asset
|
||||||
uses: actions/upload-release-asset@v1
|
uses: actions/upload-release-asset@v1
|
||||||
env:
|
env:
|
||||||
|
|||||||
+2
-2
@@ -1,6 +1,6 @@
|
|||||||
[project]
|
[project]
|
||||||
name = "tidal-dl-ng"
|
name = "tidal-dl-ng"
|
||||||
version = "0.4.30"
|
version = "0.4.31"
|
||||||
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.30"
|
version = "0.4.31"
|
||||||
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/"
|
||||||
|
|||||||
Reference in New Issue
Block a user