Remove also app restriction profiles on missing vpn profile list and … #189
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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 |