Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
lhotari committed Oct 21, 2023
1 parent 6be37ed commit 9993785
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/pulsar-ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ on:
- cron: '0 12 * * *'
# scheduled job with JDK 21
# if cron expression is changed, make sure to update the expression in jdk_major_version step in preconditions job
- cron: '0 6 * * *'
- cron: '54 * * * *'
workflow_dispatch:
inputs:
collect_coverage:
Expand Down Expand Up @@ -68,7 +68,7 @@ jobs:

steps:
- name: Cancel scheduled jobs in forks by default
if: ${{ github.repository != 'apache/pulsar' && github.event_name == 'schedule' }}
if: ${{ github.repository != 'apache/pulsar' && github.event_name == 'REMOVE_THIS_schedule' }}
uses: actions/github-script@v6
with:
script: |
Expand All @@ -79,7 +79,7 @@ jobs:
id: jdk_major_version
run: |
# use JDK 21 for the scheduled build with cron expression '0 6 * * *'
if [[ "${{ github.event_name == 'schedule' && github.event.schedule == '0 6 * * *' && 'true' || 'false' }}" == "true" ]]; then
if [[ "${{ github.event_name == 'schedule' && github.event.schedule == '54 * * * *' && 'true' || 'false' }}" == "true" ]]; then
echo "jdk_major_version=21" >> $GITHUB_OUTPUT
exit 0
fi
Expand Down

0 comments on commit 9993785

Please sign in to comment.