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
|
- name: Build executable
|
||||||
run: |
|
run: |
|
||||||
pip install requests requests[socks] yt-dlp pyyaml ${{ matrix.python-packages }} pyinstaller
|
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
|
- uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
|
@ -22,15 +22,12 @@ def main():
|
|||||||
else:
|
else:
|
||||||
label = ""
|
label = ""
|
||||||
if args.os:
|
if args.os:
|
||||||
os = args.os.partition("-")[0].lower()
|
label += args.os.partition("-")[0].lower()
|
||||||
if os == "ubuntu":
|
|
||||||
os = "linux"
|
|
||||||
label += os
|
|
||||||
if args.arch == "x86":
|
if args.arch == "x86":
|
||||||
label += "_x86"
|
label += "_x86"
|
||||||
|
|
||||||
if args.print:
|
if args.print:
|
||||||
return print(label)
|
return print(label.replace("ubuntu", "linux"))
|
||||||
|
|
||||||
name = "gallery-dl"
|
name = "gallery-dl"
|
||||||
if label:
|
if label:
|
||||||
|
Loading…
Reference in New Issue
Block a user