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:
12
12
cancel-in-progress : true
13
13
14
14
jobs :
15
- formatKotlinAndApiDump :
15
+ lintAndApiChecks :
16
16
runs-on : macos-latest
17
17
permissions :
18
18
contents : write
@@ -30,11 +30,16 @@ jobs:
30
30
xcode-version : latest-stable
31
31
- name : Format Kotlin
32
32
run : ./gradlew formatKotlin
33
+ - name : Api Check
34
+ id : apiCheck
35
+ continue-on-error : true
36
+ run : ./gradlew apiCheck
33
37
- name : Api File Update
38
+ if : ${{ steps.apiCheck.conclusion == 'failure' }}
34
39
run : ./gradlew apiDump
35
40
- uses : stefanzweifel/git-auto-commit-action@v6
36
41
jobMatrixSetup :
37
- needs : formatKotlinAndApiDump
42
+ needs : lintAndApiChecks
38
43
runs-on : macos-latest
39
44
outputs :
40
45
emulator_jobs_matrix : ${{ steps.dataStep.outputs.emulator_jobs_matrix }}
You can’t perform that action at this time.
0 commit comments