Skip to content

Commit 0af0332

Browse files
jmesnilclaude
andcommitted
ci: run TCK workflow only after successful Build and Test
Use workflow_run trigger to chain the TCK workflow after the "Build and Test" workflow completes successfully. Manual dispatch still works independently. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent be95c47 commit 0af0332

1 file changed

Lines changed: 6 additions & 8 deletions

File tree

.github/workflows/run-tck.yml

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,10 @@
11
name: Run TCK
22

33
on:
4-
# Handle all branches for now
5-
push:
6-
branches:
7-
- main
8-
pull_request:
9-
branches:
10-
- main
4+
workflow_run:
5+
workflows: ["Build and Test"]
6+
types:
7+
- completed
118
workflow_dispatch:
129

1310
env:
@@ -24,10 +21,11 @@ concurrency:
2421

2522
jobs:
2623
tck-test:
24+
if: ${{ github.event_name == 'workflow_dispatch' || github.event.workflow_run.conclusion == 'success' }}
2725
runs-on: ubuntu-latest
2826
strategy:
2927
matrix:
30-
java-version: [17, 21, 25]
28+
java-version: [17]
3129
steps:
3230
- name: Checkout a2a-java
3331
uses: actions/checkout@v6

0 commit comments

Comments
 (0)