2022-03-24 18:42:44 +01:00
|
|
|
name: Make Apk CI
|
2022-02-14 00:42:41 +01:00
|
|
|
|
|
|
|
on:
|
|
|
|
workflow_dispatch:
|
|
|
|
push:
|
|
|
|
pull_request:
|
|
|
|
|
|
|
|
jobs:
|
2022-03-24 18:42:44 +01:00
|
|
|
Build-Apk:
|
2022-02-14 00:42:41 +01:00
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
2022-03-24 02:44:17 +01:00
|
|
|
- name: Checkout repo
|
2022-02-14 00:42:41 +01:00
|
|
|
uses: actions/checkout@v2
|
2022-03-24 02:44:17 +01:00
|
|
|
- uses: actions/setup-java@v2
|
|
|
|
with:
|
|
|
|
distribution: 'zulu' # See 'Supported distributions' for available options
|
|
|
|
java-version: '11'
|
|
|
|
- name: Install fontforge
|
|
|
|
run: sudo apt-get install -y fontforge
|
2022-02-14 00:42:41 +01:00
|
|
|
- name: Cache debug certificate
|
|
|
|
uses: actions/cache@v2
|
|
|
|
with:
|
|
|
|
path: _build/debug.keystore
|
|
|
|
key: debug-keystore
|
2022-03-24 02:44:17 +01:00
|
|
|
- name: Build
|
|
|
|
run: make
|
2022-02-14 00:42:41 +01:00
|
|
|
- name: Save debug apk
|
|
|
|
uses: actions/upload-artifact@v2
|
|
|
|
with:
|
|
|
|
name: debug apk
|
|
|
|
path: _build/*.apk
|