From 999378522401fa84cef6aadf120844962e5e1e9b Mon Sep 17 00:00:00 2001 From: Lari Hotari Date: Sat, 21 Oct 2023 07:53:06 +0300 Subject: [PATCH] test --- .github/workflows/pulsar-ci.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/pulsar-ci.yaml b/.github/workflows/pulsar-ci.yaml index 6b6437d2d62d67..e3bcf1957d78fe 100644 --- a/.github/workflows/pulsar-ci.yaml +++ b/.github/workflows/pulsar-ci.yaml @@ -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: @@ -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: | @@ -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