- Fix `AUTHORS` file by doing an unshallow checkout
- Update triggers for nightly/master release
Authored by: bashonly
- "!yt_dlp/version.py"
- "bundle/*.py"
- "pyproject.toml"
+ - "Makefile"
+ - ".github/workflows/build.yml"
concurrency:
group: release-master
permissions:
- name: Check for new commits
id: check_for_new_commits
run: |
- relevant_files=("yt_dlp/*.py" ':!yt_dlp/version.py' "bundle/*.py" "pyproject.toml")
+ relevant_files=(
+ "yt_dlp/*.py"
+ ':!yt_dlp/version.py'
+ "bundle/*.py"
+ "pyproject.toml"
+ "Makefile"
+ ".github/workflows/build.yml"
+ )
echo "commit=$(git log --format=%H -1 --since="24 hours ago" -- "${relevant_files[@]}")" | tee "$GITHUB_OUTPUT"
release:
steps:
- uses: actions/checkout@v4
+ with:
+ fetch-depth: 0
- uses: actions/setup-python@v4
with:
python-version: "3.10"