mirror of https://github.com/etesync/android
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
35 lines
668 B
35 lines
668 B
name: Android CI Workflow
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- master
|
|
- test
|
|
tags:
|
|
- 'v*'
|
|
|
|
jobs:
|
|
apk:
|
|
name: Generate APK
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v3
|
|
|
|
- name: Set up JDK 17
|
|
uses: actions/setup-java@v3
|
|
with:
|
|
java-version: '17'
|
|
distribution: 'temurin'
|
|
|
|
# - name: Setup Android SDK
|
|
# uses: android-actions/setup-android@v2
|
|
|
|
- name: Build APK
|
|
run: ./gradlew --no-daemon build
|
|
|
|
- name: Upload APK
|
|
uses: actions/upload-artifact@v1
|
|
with:
|
|
name: apk
|
|
path: app/build/outputs/apk/release/app-release.apk
|