2023-11-12 18:49:15 -05:00
|
|
|
name: Release (master)
|
|
|
|
on:
|
|
|
|
push:
|
|
|
|
branches:
|
|
|
|
- master
|
|
|
|
paths:
|
|
|
|
- "yt_dlp/**.py"
|
|
|
|
- "!yt_dlp/version.py"
|
2024-02-11 08:58:18 -05:00
|
|
|
- "bundle/*.py"
|
2024-02-11 09:13:03 -05:00
|
|
|
- "pyproject.toml"
|
2024-02-11 11:35:27 -05:00
|
|
|
- "Makefile"
|
|
|
|
- ".github/workflows/build.yml"
|
2023-11-12 18:49:15 -05: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
|
2024-06-13 17:13:08 -04:00
|
|
|
packages: write # For package cache
|
|
|
|
actions: write # For cleaning up cache
|
2023-11-12 18:49:15 -05:00
|
|
|
id-token: write # mandatory for trusted publishing
|
|
|
|
secrets: inherit
|