File tree Expand file tree Collapse file tree 1 file changed +13
-6
lines changed Expand file tree Collapse file tree 1 file changed +13
-6
lines changed Original file line number Diff line number Diff line change @@ -11,18 +11,25 @@ jobs:
11
11
name : " Release ${{ matrix.target }}"
12
12
runs-on : ubuntu-latest
13
13
steps :
14
- - name : set up JDK 17
15
- uses : actions/setup-java@v3
16
- with :
17
- distribution : ' zulu'
18
- java-version : 17
19
14
- name : Use debug signing
20
15
run : mkdir -p ~/.gradle && echo -e "icsopenvpnDebugSign=true\norg.gradle.jvmargs=-Xmx2048M" > ~/.gradle/gradle.properties
21
16
- name : Checkout the code
22
17
uses : actions/checkout@v2
23
18
with :
24
19
submodules : true
20
+ - name : set up JDK 17
21
+ uses : actions/setup-java@v3
22
+ with :
23
+ distribution : ' zulu'
24
+ java-version : 17
25
+ cache : ' gradle'
25
26
- name : Build the app
26
27
run : ./gradlew assemble${{ matrix.target }}Release
27
28
- name : Run Unit tests
28
- run : ./gradlew test${{ matrix.target }}ReleaseUnitTest
29
+ run : ./gradlew test${{ matrix.target }}ReleaseUnitTest
30
+
31
+ - name : Archive apk artifact
32
+ uses : actions/upload-artifact@v3
33
+ with :
34
+ name : mingw-unittest-${{matrix.target}}-ossl${{ matrix.osslver }}-tests
35
+ path : main/build/outputs/apk/**/*universal*.apk
You can’t perform that action at this time.
0 commit comments