File tree Expand file tree Collapse file tree 2 files changed +26
-28
lines changed
Expand file tree Collapse file tree 2 files changed +26
-28
lines changed Original file line number Diff line number Diff line change 1- name : Build CI
1+ name : Kotlin Multiplatform CI
22
33on :
44 push :
77 tags-ignore :
88 - ' **'
99 pull_request :
10- branches : [ master ]
1110
1211jobs :
1312 build_job :
14- name : Build (Unit-tests)
13+ name : Build (Unit-tests & Android-Lint )
1514 runs-on : macos-latest
15+ continue-on-error : true
1616 steps :
17- - uses : actions/checkout@v1
18- - name : Cache gradle
19- uses : actions/cache@v1
20- with :
21- path : ~/.gradle/caches
22- key : ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle') }}
23- restore-keys : |
24- ${{ runner.os }}-gradle-
25- - name : Decrypt large secret
26- run : ./.github/scripts/decrypt_secret.sh
27- env :
28- LARGE_SECRET_PASSPHRASE : ${{ secrets.LARGE_SECRET_PASSPHRASE }}
17+ - name : Check out
18+ uses : actions/checkout@v4
19+ - name : Gradle Wrapper Validation
20+ uses : gradle/wrapper-validation-action@v1
2921 - name : Set up JDK 17
30- uses : actions/setup-java@v1
22+ uses : actions/setup-java@v4
3123 with :
24+ distribution : ' oracle'
3225 java-version : 17
26+ - name : Setup Gradle
27+ uses : gradle/actions/setup-gradle@v4
28+ with :
29+ cache-read-only : false
30+ cache-overwrite-existing : true
3331 - name : Build
34- run : ./gradlew build
32+ run : ./gradlew build
Original file line number Diff line number Diff line change @@ -10,23 +10,23 @@ jobs:
1010 name : Build -> Unit-test -> Publish
1111 runs-on : macos-latest
1212 steps :
13- - uses : actions/checkout@v1
14- - name : Cache gradle
15- uses : actions/cache@v1
13+ - uses : actions/checkout@v4
14+ - name : Set up JDK 17
15+ uses : actions/setup-java@v4
16+ with :
17+ distribution : ' oracle'
18+ java-version : 17
19+ - name : Setup Gradle
20+ uses : gradle/actions/setup-gradle@v4
1621 with :
17- path : ~/.gradle/caches
18- key : ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle') }}
19- restore-keys : |
20- ${{ runner.os }}-gradle-
22+ cache-read-only : false
23+ cache-overwrite-existing : true
2124 - name : Decrypt large secret
2225 run : ./.github/scripts/decrypt_secret.sh
2326 env :
2427 LARGE_SECRET_PASSPHRASE : ${{ secrets.LARGE_SECRET_PASSPHRASE }}
25- - name : Set up JDK 17
26- uses : actions/setup-java@v1
27- with :
28- java-version : 17
2928 - name : Build
3029 run : ./gradlew build
3130 - name : Publish
31+ continue-on-error : true
3232 run : ./gradlew publishAllPublicationsToSonatypeRepository --max-workers 1 closeAndReleaseRepository
You can’t perform that action at this time.
0 commit comments