From 540ae17adbaaef1dda55d4f52003c033c67721cc Mon Sep 17 00:00:00 2001 From: Arne Schwabe Date: Mon, 17 Apr 2023 15:30:41 +0200 Subject: Fix github builds --- .github/workflows/build.yaml | 5 +++++ 1 file changed, 5 insertions(+) (limited to '.github') diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 449907eb..ccc5e8a9 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -11,6 +11,11 @@ jobs: name: "Release ${{ matrix.target }}" runs-on: ubuntu-latest steps: + - name: set up JDK 17 + uses: actions/setup-java@v3 + with: + distribution: 'zulu' + java-version: 17 - name: Use debug signing run: mkdir -p ~/.gradle && echo -e "icsopenvpnDebugSign=true\norg.gradle.jvmargs=-Xmx2048M" > ~/.gradle/gradle.properties - name: Checkout the code -- cgit v1.2.3 From f01075341032da733d857cc072f2984fb3a22401 Mon Sep 17 00:00:00 2001 From: Arne Schwabe Date: Tue, 18 Apr 2023 12:04:24 +0200 Subject: Save artificats from github build and cache gradle deps --- .github/workflows/build.yaml | 19 +++++++++++++------ 1 file changed, 13 insertions(+), 6 deletions(-) (limited to '.github') diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index ccc5e8a9..79243a92 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -11,18 +11,25 @@ jobs: name: "Release ${{ matrix.target }}" runs-on: ubuntu-latest steps: - - name: set up JDK 17 - uses: actions/setup-java@v3 - with: - distribution: 'zulu' - java-version: 17 - 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 \ 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 -- cgit v1.2.3 From a688889a1e54cee8439f8a61c3162f7913530b37 Mon Sep 17 00:00:00 2001 From: Arne Schwabe Date: Wed, 17 May 2023 15:32:34 +0200 Subject: Allow to build a UI variant with OpenVPN 2.x only --- .github/workflows/build.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to '.github') diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 79243a92..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: -- cgit v1.2.3