[ 
https://issues.apache.org/jira/browse/KAFKA-19768?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18028154#comment-18028154
 ] 

Chia-Ping Tsai commented on KAFKA-19768:
----------------------------------------

Perhasp we could use multiple branches to handle this case.

 
{code:java}
jobs:
  upload-build-scan-main:
    if: github.event.workflow_run.head_branch == 'trunk'
    runs-on: ubuntu-latest
    strategy:
      matrix:
    # ... rest of the steps

  upload-build-scan-other:
    if: github.event.workflow_run.head_branch != 'trunk'
    runs-on: ubuntu-latest
    strategy:
      matrix:  
   # ... rest of the steps{code}
 

 

> `ci-complete` needs to work with active branches after the JDK is updated
> -------------------------------------------------------------------------
>
>                 Key: KAFKA-19768
>                 URL: https://issues.apache.org/jira/browse/KAFKA-19768
>             Project: Kafka
>          Issue Type: Improvement
>            Reporter: Chia-Ping Tsai
>            Assignee: Chia-Ping Tsai
>            Priority: Minor
>
> The JDK version used by `ci-complete` is inconsistent with other active 
> branches, which is causing the build report task to fail



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to