Skip to content

CI: sign apk with present in repo debug key #14

CI: sign apk with present in repo debug key

CI: sign apk with present in repo debug key #14

Workflow file for this run

name: CI Build
on:
push:
branches: [edge]
tags: ["*"]
pull_request:
branches: [edge]
jobs:
build:
runs-on: ubuntu-20.04
steps:
- uses: actions/setup-java@v4
with:
java-version: '17'
distribution: 'temurin'
- uses: actions/checkout@v4
- name: Build
run: sh gradlew --no-daemon assembleRelease
- name: Sign the apk with debug key
run: /usr/local/lib/android/sdk/build-tools/34.0.0/apksigner sign --ks debug.keystore --ks-pass pass:android --ks-key-alias androiddebugkey app/build/outputs/apk/floss/release/*-release.apk
- uses: actions/upload-artifact@v4
with:
name: DSub2000 APK
path: app/build/outputs/apk/floss/release/*-release.apk
compression-level: 0