Skip to content

ci: build and upload apk #9

ci: build and upload apk

ci: build and upload apk #9

Workflow file for this run

name: ci
on:
push:
branches: [master]
pull_request:
branches: [master]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
submodules: recursive
- uses: gradle/wrapper-validation-action@v2
- name: Set up JDK 17
uses: actions/setup-java@v4
with:
java-version: 17
distribution: temurin
cache: gradle
- name: Set up CMake and Ninja
uses: lukka/get-cmake@latest
- name: Build with Gradle
env:
SIGNING_KEY_STORE_PATH: debug.keystore
SIGNING_KEY_ALIAS: android
SIGNING_KEY_PASSWORD: android
SIGNING_STORE_PASSWORD: android
run: ./gradlew clean && ./gradlew assembleRelease
- run: ls app/build/outputs/apk/*
- uses: actions/upload-artifact@v4
with:
name: knoxvnc.apk
path: app/build/outputs/apk/release/app-release.apk