Skip to content

Manual Release Build #186

Manual Release Build

Manual Release Build #186

Workflow file for this run

name: Build
on:
push:
branches:
- master
- '*'
pull_request:
branches:
- master
workflow_dispatch:
jobs:
build:
name: Build Release APK
runs-on: ubuntu-latest
steps:
- name: Check out
uses: actions/checkout@v6
with:
fetch-depth: 0
- name: Set up JDK 21
uses: actions/setup-java@v5
with:
distribution: 'temurin'
java-version: '21'
- name: Setup Gradle
uses: gradle/actions/setup-gradle@v5
with:
build-scan-publish: true
build-scan-terms-of-use-url: "https://gradle.com/terms-of-service"
build-scan-terms-of-use-agree: "yes"
- name: Build Release APK
shell: bash
run: |
echo 'org.gradle.jvmargs=-Xmx2048m' >> gradle.properties
echo 'org.gradle.caching=true' >> gradle.properties
echo 'org.gradle.parallel=true' >> gradle.properties
./gradlew assembleRelease
- name: Upload build artifact
uses: actions/upload-artifact@v6
with:
name: KeyAttestation-Release
path: app/build/outputs/apk/release/app-release.apk