Skip to content

ci: build and upload apk #8

ci: build and upload apk

ci: build and upload apk #8

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
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