2023-11-13 00:49:15 +01:00
|
|
|
name: Release (master)
|
|
|
|
on:
|
|
|
|
push:
|
|
|
|
branches:
|
|
|
|
- master
|
|
|
|
paths:
|
|
|
|
- "yt_dlp/**.py"
|
|
|
|
- "!yt_dlp/version.py"
|
2024-02-11 14:58:18 +01:00
|
|
|
- "bundle/*.py"
|
2024-02-11 15:13:03 +01:00
|
|
|
- "pyproject.toml"
|
2023-11-13 00:49:15 +01:00
|
|
|
concurrency:
|
|
|
|
group: release-master
|
|
|
|
permissions:
|
|
|
|
contents: read
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
release:
|
|
|
|
if: vars.BUILD_MASTER != ''
|
|
|
|
uses: ./.github/workflows/release.yml
|
|
|
|
with:
|
|
|
|
prerelease: true
|
|
|
|
source: master
|
|
|
|
permissions:
|
|
|
|
contents: write
|
|
|
|
packages: write
|
|
|
|
id-token: write # mandatory for trusted publishing
|
|
|
|
secrets: inherit
|