diff options
| author | Robert Honz <exislow+github@gmail.com> | 2023-12-20 13:43:26 +0100 |
|---|---|---|
| committer | Robert Honz <exislow+github@gmail.com> | 2023-12-20 13:43:26 +0100 |
| commit | ee06956bed7b5b6a854b6a5dfafea69f67de875c (patch) | |
| tree | e7efa072eb14630701016df149a32cab161be76f /.github/workflows | |
| parent | c62433870b12f3da16fa235d2381f628efd5f3a8 (diff) | |
| download | tidal-dl-ng-ee06956bed7b5b6a854b6a5dfafea69f67de875c.tar.gz | |
🛠️ Removed debug and activated M1 runner.
Diffstat (limited to '.github/workflows')
| -rw-r--r-- | .github/workflows/on-release-master.yml | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/.github/workflows/on-release-master.yml b/.github/workflows/on-release-master.yml index e64618e..0c08b0b 100644 --- a/.github/workflows/on-release-master.yml +++ b/.github/workflows/on-release-master.yml @@ -80,6 +80,7 @@ jobs: run: poetry run mkdocs gh-deploy --force compute: # 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 outputs: ASSET_EXTENSION: ${{ env.ASSET_EXTENSION }} @@ -114,16 +115,15 @@ jobs: 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" && cd .. - # TODO: Use M1 runner. - # - os: "macos-latest-xlarge" - # TARGET: "macos-latest-xlarge" - # CMD_BUILD: > - # brew install create-dmg && - # source .venv/bin/activate && - # poetry run make gui-macos && - # cd dist && - # zip -r ${{needs.compute.outputs.OUT_NAME_FILE}}${{needs.compute.outputs.ASSET_EXTENSION}} ${{needs.compute.outputs.OUT_NAME_FILE}}.dmg -x "*.DS_Store" && - # cd .. + - os: "macos-latest-xlarge" + TARGET: "macos-latest-xlarge M1" + CMD_BUILD: > + brew install create-dmg && + source $VENV && + poetry run make gui-macos APP_NAME=${{needs.compute.outputs.OUT_NAME_FILE}} && + 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" && + cd .. - os: "ubuntu-20.04" TARGET: "ubuntu-20.04" OS_ARCH: ${{needs.compute.outputs.ARCH_LINUX_X64}} @@ -138,7 +138,6 @@ jobs: OS_ARCH: ${{needs.compute.outputs.ARCH_WINDOWS_X64}} CMD_BUILD: > choco install zip make -y && - ls && source $VENV && poetry run make gui APP_NAME=${{needs.compute.outputs.OUT_NAME_FILE}} && cd dist && @@ -179,6 +178,7 @@ jobs: VALUE=`cat ${{env.RELEASE_UPLOAD_URL}}/${{env.RELEASE_UPLOAD_URL}}.txt` echo "upload_url=$VALUE" >> $GITHUB_OUTPUT - name: Upload Release Asset + # TODO: Switch to https://github.com/softprops/action-gh-release id: upload-release-asset uses: actions/upload-release-asset@v1 env: |
