File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -21,11 +21,11 @@ jobs:
2121 - name : Checkout
2222 uses : actions/checkout@v4
2323
24- - name : Setup JDK 17
24+ - name : Setup JDK 21
2525 uses : actions/setup-java@v4
2626 with :
2727 distribution : ' corretto'
28- java-version : 17
28+ java-version : 21
2929
3030 - name : Setup Android SDK
3131 uses : android-actions/setup-android@v2
@@ -53,11 +53,27 @@ jobs:
5353
5454 stability_check :
5555 name : Compose Stability Check
56- runs-on : macos-latest
57- needs : ci-build
56+ runs-on : ubuntu-latest
57+
58+ if : ${{ !contains(github.event.pull_request.labels.*.name, 'skip-ci') }}
59+
5860 steps :
59- - name : Check out code
60- uses : actions/checkout@v5
61+ - name : Checkout
62+ uses : actions/checkout@v4
63+
64+ - name : Setup JDK 21
65+ uses : actions/setup-java@v4
66+ with :
67+ distribution : ' corretto'
68+ java-version : 21
69+
70+ - name : Setup Android SDK
71+ uses : android-actions/setup-android@v2
72+
73+ - name : Setup Gradle
74+ uses : gradle/gradle-build-action@v2
75+ with :
76+ gradle-home-cache-cleanup : true
6177
6278 - name : Generate local.properties
6379 run : echo '${{ secrets.LOCAL_PROPERTIES }}' | base64 -d > ./local.properties
6884 - name : Generate google-services.json
6985 run : echo '${{ secrets.GOOGLE_SERVICES }}' | base64 -d > ./app/google-services.json
7086
71- - name : Set up JDK
72- uses : actions/setup-java@v5
73- with :
74- distribution : ' zulu'
75- java-version : 21
76-
7787 - name : Compose Stability Check
7888 run : ./gradlew stabilityCheck
You can’t perform that action at this time.
0 commit comments