File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -10,10 +10,10 @@ jobs:
1010
1111 steps :
1212 - name : Checkout code
13- uses : actions/checkout@v3
13+ uses : actions/checkout@v4
1414
1515 - name : Set up JDK 11
16- uses : actions/setup-java@v2
16+ uses : actions/setup-java@v4
1717 with :
1818 distribution : adopt
1919 java-version : 11
Original file line number Diff line number Diff line change @@ -13,10 +13,10 @@ jobs:
1313
1414 steps :
1515 - name : Checkout code
16- uses : actions/checkout@v3
16+ uses : actions/checkout@v4
1717
1818 - name : Set up JDK 11
19- uses : actions/setup-java@v2
19+ uses : actions/setup-java@v4
2020 with :
2121 distribution : adopt
2222 java-version : 11
@@ -31,10 +31,12 @@ jobs:
3131 run : ./gradlew createCodeCoverageReport
3232
3333 - name : Upload code coverage to Codecov
34- uses : codecov/codecov-action@v3
34+ uses : codecov/codecov-action@v4
35+ with :
36+ token : ${{ secrets.CODECOV_TOKEN }}
3537
3638 - name : Upload Coverage to GH-Actions
37- uses : actions/upload-artifact@v2.2.0
39+ uses : actions/upload-artifact@v4
3840 if : ${{ always() }}
3941 with :
4042 name : Tests Coverage Report
Original file line number Diff line number Diff line change 2424
2525// Replace these versions with the latest available versions of libkiwix and libzim
2626ext. libkiwix_version = " 13.1.0-1"
27- ext. libzim_version = " 9.2.0 "
27+ ext. libzim_version = " 9.2.1 "
2828
2929apply from : ' publish.gradle'
3030android {
Original file line number Diff line number Diff line change @@ -234,9 +234,9 @@ public void testNonExistant() {
234234 String zimFile = "non_existant.zim" ;
235235 try {
236236 TestArchive archive1 = new TestArchive (zimFile );
237- fail ("ERROR: Archive created with invalid Zim file!" );
237+ fail ("ERROR: Archive created with invalid ZIM file!" );
238238 } catch (Exception e ) {
239- assertEquals ("error 2 opening file \" " + zimFile + " \" " , e .getMessage ());
239+ assertEquals ("Error opening as a split file: " + zimFile , e .getMessage ());
240240 }
241241 }
242242
You can’t perform that action at this time.
0 commit comments