mirror of
https://github.com/jellyfin/jellyfin-androidtv.git
synced 2026-10-28 17:51:55 +01:00
30 lines
687 B
YAML
30 lines
687 B
YAML
name: App Build
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- master
|
|
pull_request:
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: ubuntu-20.04
|
|
steps:
|
|
- name: Checkout repository
|
|
uses: actions/checkout@v2
|
|
- name: Setup Java
|
|
uses: actions/setup-java@v2
|
|
with:
|
|
distribution: adopt
|
|
java-version: 11
|
|
cache: gradle
|
|
- name: Assemble debug APKs
|
|
run: ./gradlew --build-cache --no-daemon --info assembleDebug
|
|
- name: Upload artifacts
|
|
uses: actions/upload-artifact@v2
|
|
with:
|
|
name: build-artifacts
|
|
retention-days: 14
|
|
if-no-files-found: error
|
|
path: app/build/outputs/apk/debug/*.apk
|