Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[build] Trigger nightly/master releases on changes to build.yml
Browse files Browse the repository at this point in the history
Authored by: bashonly
bashonly committed Feb 11, 2024
1 parent 369f9cd commit 0af882d
Showing 2 changed files with 9 additions and 1 deletion.
1 change: 1 addition & 0 deletions .github/workflows/release-master.yml
Original file line number Diff line number Diff line change
@@ -9,6 +9,7 @@ on:
- "bundle/*.py"
- "pyproject.toml"
- "Makefile"
- ".github/workflows/build.yml"
concurrency:
group: release-master
permissions:
9 changes: 8 additions & 1 deletion .github/workflows/release-nightly.yml
Original file line number Diff line number Diff line change
@@ -18,7 +18,14 @@ jobs:
- name: Check for new commits
id: check_for_new_commits
run: |
relevant_files=("yt_dlp/*.py" ':!yt_dlp/version.py' "bundle/*.py" "pyproject.toml" "Makefile")
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:

0 comments on commit 0af882d

Please sign in to comment.