File tree 1 file changed +12
-11
lines changed
1 file changed +12
-11
lines changed Original file line number Diff line number Diff line change 22
22
jobs :
23
23
changes :
24
24
runs-on : ubuntu-latest
25
+ outputs :
26
+ java : ${{ steps.changes.outputs.java }}
27
+ python_cdk : ${{ steps.changes.outputs.python_cdk }}
28
+
25
29
steps :
26
- - name : Checkout Airbyte
27
- uses : actions/checkout@v3
28
- - name : Get changed files
29
- uses : tj-actions/changed-files@v39
30
- id : changes
30
+ - id : changes
31
+ uses : dorny/paths-filter@v2
31
32
with :
32
- files_yaml : |
33
- gradlecheck:
33
+ # Note: expressions within a filter are OR'ed
34
+ filters : |
35
+ java:
34
36
- '**/*.java'
35
37
- '**/*.gradle'
36
38
- 'airbyte-cdk/java/**/*'
37
- outputs :
38
- gradle : ${{ steps.changes.outputs.gradlecheck_any_changed }}
39
-
39
+ python_cdk:
40
+ - 'airbyte-cdk/python/**/*'
40
41
run-check :
41
42
needs :
42
43
- changes
43
- if : needs.changes.outputs.gradle == 'true'
44
+ if : needs.changes.outputs.java == 'true'
44
45
# The gradle check task which we will run is embarrassingly parallelizable.
45
46
# We therefore run this on a machine with a maximum number of cores.
46
47
# We pay per time and per core, so there should be little difference in total cost.
You can’t perform that action at this time.
0 commit comments