mirror of
https://github.com/Helium314/HeliBoard.git
synced 2025-06-03 13:20:31 +00:00
Added CI
This commit is contained in:
parent
e590fa78cd
commit
27cd92c7fd
2 changed files with 45 additions and 0 deletions
40
.github/workflows/android-build.yml
vendored
Normal file
40
.github/workflows/android-build.yml
vendored
Normal file
|
@ -0,0 +1,40 @@
|
|||
name: Build
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: [ master ]
|
||||
pull_request:
|
||||
branches: [ master ]
|
||||
|
||||
jobs:
|
||||
build:
|
||||
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
|
||||
- name: Set up JDK
|
||||
uses: actions/setup-java@v2
|
||||
with:
|
||||
java-version: '11'
|
||||
distribution: 'temurin'
|
||||
cache: gradle
|
||||
|
||||
- name: Grant execute permission for gradlew
|
||||
run: chmod +x gradlew
|
||||
|
||||
- name: Build with Gradle
|
||||
run: ./gradlew build
|
||||
|
||||
- name: Upload our APK
|
||||
uses: actions/upload-artifact@v2.2.0
|
||||
with:
|
||||
name: APK
|
||||
path: app/build/outputs/apk/release/app-release-unsigned.apk
|
||||
|
||||
- name: Upload lint report
|
||||
uses: actions/upload-artifact@v2.2.0
|
||||
with:
|
||||
name: Lint report
|
||||
path: app/build/reports/lint-results-debug.html
|
|
@ -1,4 +1,9 @@
|
|||
# OpenBoard
|
||||
|
||||
[](https://github.com/openboard-team/openboard/actions/workflows/android-build.yml)
|
||||

|
||||

|
||||
|
||||
<a href='https://f-droid.org/packages/org.dslul.openboard.inputmethod.latin'><img src='https://fdroid.gitlab.io/artwork/badge/get-it-on.png' alt='Get it on F-Droid' height='80'></a>
|
||||
<a href='https://play.google.com/store/apps/details?id=org.dslul.openboard.inputmethod.latin&pcampaignid=pcampaignidMKT-Other-global-all-co-prtnr-py-PartBadge-Mar2515-1'><img alt='Get it on Google Play' src='https://play.google.com/intl/en_us/badges/static/images/badges/en_badge_web_generic.png' height='80px'/></a>
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue