[build] Various build workflow improvements

- Wait for build before publishing to PyPI
- Do not run `meta_files` job if release is cancelled
- Customizable channel in release workflow
- Display badges above changelog

Authored by: bashonly, Grub4K
This commit is contained in:
bashonly 2023-05-20 11:08:50 -05:00
parent 44a79958f0
commit c4efa0aefe
No known key found for this signature in database
GPG key ID: 783F096F253D15B0
5 changed files with 90 additions and 37 deletions

View file

@ -41,7 +41,7 @@ on:
required: true
type: string
channel:
description: Update channel (stable/nightly)
description: Update channel (stable/nightly/...)
required: true
default: stable
type: string
@ -316,7 +316,7 @@ jobs:
dist/yt-dlp_x86.exe
meta_files:
if: inputs.meta_files && always()
if: inputs.meta_files && always() && !cancelled()
needs:
- unix
- linux_arm