Skip to content

Commit

Permalink
foo #3
Browse files Browse the repository at this point in the history
  • Loading branch information
XComp committed Apr 2, 2024
1 parent d1f9b2a commit f14e8fd
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/nightly-trigger.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,11 @@ jobs:
# each release branch should run every 3rd day to reduce load on the Apache Infra runners
release_branch="no branch"
release_branch="${{ steps.release_branch_extraction_step.outputs.penultimate_release }}"
if [[ "$(( $day_of_year % 3))" -eq 1 ]]; then
release_branch="${{ steps.release_branch_extraction_step.outputs.newest_release }}"
else if [[ "$(( $day_of_year % 3))" -eq 2 ]]; then
release_branch="${{ steps.release_branch_extraction_step.outputs.penultimate_release }}"
fi
- name: "Trigger master nightly"
uses: actions/github-script@v7
Expand Down

0 comments on commit f14e8fd

Please sign in to comment.