[workflows:executables] restore 'gallery-dl_ubuntu' name

pull/5667/head
Mike Fährmann 4 months ago
parent 53aadb0c44
commit 05f8435e09
No known key found for this signature in database
GPG Key ID: 5680CA389D365A88

@ -68,7 +68,7 @@ jobs:
- name: Build executable
run: |
pip install requests requests[socks] yt-dlp pyyaml ${{ matrix.python-packages }} pyinstaller
python ./scripts/pyinstaller.py --label '${{ env.LABEL }}'
python ./scripts/pyinstaller.py --os '${{ matrix.os }}' --arch '${{ matrix.architecture }}'
- uses: actions/upload-artifact@v4
with:

@ -22,15 +22,12 @@ def main():
else:
label = ""
if args.os:
os = args.os.partition("-")[0].lower()
if os == "ubuntu":
os = "linux"
label += os
label += args.os.partition("-")[0].lower()
if args.arch == "x86":
label += "_x86"
if args.print:
return print(label)
return print(label.replace("ubuntu", "linux"))
name = "gallery-dl"
if label:

Loading…
Cancel
Save