Skip to content

Commit b95fa70

Browse files
committed
ci(pr-check): ignore lint check during assemble release
1 parent 844f8ca commit b95fa70

2 files changed

Lines changed: 4 additions & 0 deletions

File tree

.github/workflows/android-pr.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,9 @@ on:
1111
- 'LICENSE'
1212
- 'NOTICE'
1313

14+
env:
15+
CI_CHECK_RELEASE_BUILDS: 'false'
16+
1417
permissions:
1518
contents: read
1619

build-plugin/src/main/kotlin/AndroidExtension.kt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ internal fun CommonExtension<*, *, *, *, *, *>.configureSharedConfig(project: Pr
2525
checkDependencies = true
2626
lintConfig = project.file("${project.rootProject.projectDir}/config/lint/lint.xml")
2727
baseline = project.file("${project.rootProject.projectDir}/config/lint/android-lint-baseline.xml")
28+
checkReleaseBuilds = System.getenv("CI_CHECK_RELEASE_BUILDS")?.toBoolean() ?: true
2829
}
2930

3031
testOptions {

0 commit comments

Comments
 (0)