File tree Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ concurrency:
1212 cancel-in-progress : true
1313
1414jobs :
15- formatKotlinAndApiDump :
15+ lintAndApiChecks :
1616 runs-on : macos-latest
1717 permissions :
1818 contents : write
@@ -30,11 +30,16 @@ jobs:
3030 xcode-version : latest-stable
3131 - name : Format Kotlin
3232 run : ./gradlew formatKotlin
33+ - name : Api Check
34+ id : apiCheck
35+ continue-on-error : true
36+ run : ./gradlew apiCheck
3337 - name : Api File Update
38+ if : ${{ steps.apiCheck.conclusion == 'failure' }}
3439 run : ./gradlew apiDump
3540 - uses : stefanzweifel/git-auto-commit-action@v6
3641 jobMatrixSetup :
37- needs : formatKotlinAndApiDump
42+ needs : lintAndApiChecks
3843 runs-on : macos-latest
3944 outputs :
4045 emulator_jobs_matrix : ${{ steps.dataStep.outputs.emulator_jobs_matrix }}
You can’t perform that action at this time.
0 commit comments