summaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/build.yaml16
1 files changed, 14 insertions, 2 deletions
diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml
index 449907eb..287a0175 100644
--- a/.github/workflows/build.yaml
+++ b/.github/workflows/build.yaml
@@ -7,7 +7,7 @@ jobs:
strategy:
fail-fast: false
matrix:
- target: [Ui, Skeleton]
+ target: [UiOvpn23, SkeletonOvpn2, UiOvpn2]
name: "Release ${{ matrix.target }}"
runs-on: ubuntu-latest
steps:
@@ -17,7 +17,19 @@ jobs:
uses: actions/checkout@v2
with:
submodules: true
+ - name: set up JDK 17
+ uses: actions/setup-java@v3
+ with:
+ distribution: 'zulu'
+ java-version: 17
+ cache: 'gradle'
- name: Build the app
run: ./gradlew assemble${{ matrix.target }}Release
- name: Run Unit tests
- run: ./gradlew test${{ matrix.target }}ReleaseUnitTest \ No newline at end of file
+ run: ./gradlew test${{ matrix.target }}ReleaseUnitTest
+
+ - name: Archive apk artifact
+ uses: actions/upload-artifact@v3
+ with:
+ name: build-${{matrix.target}}-release-apk
+ path: main/build/outputs/apk/**/*universal*.apk