👷 Removed unnecessary release workflow code.
This commit is contained in:
@@ -16,7 +16,6 @@ on:
|
||||
- "v*.*.*"
|
||||
|
||||
env:
|
||||
RELEASE_UPLOAD_URL: "release_upload_url"
|
||||
ASSET_EXTENSION: ".zip"
|
||||
OUT_NAME_FILE: "TIDAL-Downloader-NG"
|
||||
ARCH_MACOS_X64: "macos-x64"
|
||||
@@ -51,13 +50,6 @@ jobs:
|
||||
draft: false
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
- name: GitHub Release -- Output Release URL File
|
||||
run: echo "${{steps.release_create.outputs.upload_url}}" > ${{env.RELEASE_UPLOAD_URL}}.txt
|
||||
- name: GitHub Release -- Save Upload URL File for publish
|
||||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: ${{env.RELEASE_UPLOAD_URL}}
|
||||
path: ${{env.RELEASE_UPLOAD_URL}}.txt
|
||||
deploy-docs:
|
||||
needs: publish
|
||||
runs-on: ubuntu-24.04
|
||||
@@ -90,8 +82,6 @@ jobs:
|
||||
echo "ARCH_WINDOWS_X64=${{ env.ARCH_WINDOWS_X64 }}" >> $GITHUB_OUTPUT
|
||||
build-gui-and-upload-assets:
|
||||
needs: ["publish", "compute"]
|
||||
env:
|
||||
ASSET_MIME: "application/zip"
|
||||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
@@ -144,15 +134,6 @@ jobs:
|
||||
uses: ./.github/actions/setup-poetry-env
|
||||
- name: Build with pyinstaller for ${{matrix.TARGET}}
|
||||
run: ${{matrix.CMD_BUILD}}
|
||||
- name: Load Release URL File from release job
|
||||
uses: actions/download-artifact@v4
|
||||
with:
|
||||
name: ${{env.RELEASE_UPLOAD_URL}}
|
||||
- name: Get Release File Name & Upload URL
|
||||
id: get_release_info
|
||||
run: |
|
||||
VALUE=`cat ${{env.RELEASE_UPLOAD_URL}}.txt`
|
||||
echo "upload_url=$VALUE" >> $GITHUB_OUTPUT
|
||||
- name: Upload Release Asset
|
||||
id: upload-release-asset
|
||||
uses: softprops/action-gh-release@v2
|
||||
@@ -161,4 +142,3 @@ jobs:
|
||||
with:
|
||||
files: |
|
||||
./dist/${{needs.compute.outputs.OUT_NAME_FILE}}_${{matrix.OS_ARCH}}${{needs.compute.outputs.ASSET_EXTENSION}}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user