Skip to content

Commit 76f544f

Browse files
committed
exclude gapic-generator-java
1 parent acff6ec commit 76f544f

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.github/workflows/java_compatibility_check.yaml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,10 @@ jobs:
3232
- name: Check Java 8 compatibility for class files
3333
shell: bash
3434
run: |
35-
find . -type f -name "*.class" -path "*/classes/*" -not -path "*/grpc-*" -not -path "*/proto-*/*" -print |\
35+
find . -type f -name "*.class" -path "*/classes/*" \
36+
-not -path "*/grpc-*" \
37+
-not -path "*/proto-*/*" \
38+
-not -path "*/gapic-generator-java/*" -print |\
3639
while IFS= read -r class_file; do
3740
version=$(javap -v "${class_file}" | grep "major version" | cut -d ' ' -f 5)
3841
if [[ "${version}" != "52" ]]; then

0 commit comments

Comments
 (0)