mirror of
https://github.com/Julow/Unexpected-Keyboard.git
synced 2024-11-25 16:53:24 +01:00
67487d0ef0
Requires the latest version of fontforge. Re-order the steps to improve caching.
36 lines
888 B
YAML
36 lines
888 B
YAML
name: Make Apk CI
|
|
|
|
on:
|
|
workflow_dispatch:
|
|
push:
|
|
pull_request:
|
|
|
|
jobs:
|
|
Build-Apk:
|
|
runs-on: ubuntu-20.04
|
|
steps:
|
|
- name: Install external dependencies
|
|
run: |
|
|
# Dirty: Get a more recent version of fontforge
|
|
sudo sed -i 's/focal/impish/g' /etc/apt/sources.list
|
|
sudo apt-get update -y
|
|
sudo apt-get install -y fontforge
|
|
- uses: actions/setup-java@v2
|
|
with:
|
|
distribution: 'zulu' # See 'Supported distributions' for available options
|
|
java-version: '11'
|
|
- name: Checkout repo
|
|
uses: actions/checkout@v2
|
|
- name: Cache debug certificate
|
|
uses: actions/cache@v2
|
|
with:
|
|
path: _build/debug.keystore
|
|
key: debug-keystore
|
|
- name: Build
|
|
run: make
|
|
- name: Save debug apk
|
|
uses: actions/upload-artifact@v2
|
|
with:
|
|
name: debug apk
|
|
path: _build/*.apk
|