Skip to content

Version 0.7.53

Version 0.7.53 #212

Workflow file for this run

# The name of our workflow
name: Build
on: [push, pull_request]
jobs:
build:
strategy:
fail-fast: false
matrix:
target: [UiOvpn23, SkeletonOvpn2, UiOvpn2]
name: "Release ${{ matrix.target }}"
runs-on: ubuntu-latest
steps:
- name: Use debug signing
run: mkdir -p ~/.gradle && echo -e "icsopenvpnDebugSign=true\norg.gradle.jvmargs=-Xmx2048M" > ~/.gradle/gradle.properties
- name: Checkout the code
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
- name: Archive apk artifact
uses: actions/upload-artifact@v3
with:
name: build-${{matrix.target}}-release-apk
path: main/build/outputs/apk/**/*universal*.apk