mirror of
https://github.com/mikf/gallery-dl.git
synced 2024-11-22 02:32:33 +01:00
[workflows:executables] restore 'gallery-dl_ubuntu' name
This commit is contained in:
parent
53aadb0c44
commit
05f8435e09
2
.github/workflows/executables.yml
vendored
2
.github/workflows/executables.yml
vendored
@ -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…
Reference in New Issue
Block a user