mirror of
https://github.com/libre-tube/LibreTube.git
synced 2024-12-13 22:00:30 +05:30
44 lines
880 B
YAML
44 lines
880 B
YAML
name: CI
|
|
|
|
on:
|
|
workflow_dispatch:
|
|
pull_request:
|
|
paths-ignore:
|
|
- "README*.md"
|
|
- "fastlane/**"
|
|
- "assets/**"
|
|
- ".github/**/*.md"
|
|
push:
|
|
paths-ignore:
|
|
- "README*.md"
|
|
- "fastlane/**"
|
|
- "assets/**"
|
|
- ".github/**/*.md"
|
|
|
|
jobs:
|
|
debug-builds:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v3
|
|
- uses: gradle/wrapper-validation-action@v1
|
|
|
|
- name: set up JDK 11
|
|
uses: actions/setup-java@v3
|
|
with:
|
|
java-version: 11
|
|
distribution: "temurin"
|
|
cache: "gradle"
|
|
|
|
- name: Patch and Compile
|
|
run: |
|
|
cd .github
|
|
python patch.py
|
|
cd ..
|
|
./gradlew assembleDebug
|
|
|
|
- name: Upload APK
|
|
uses: actions/upload-artifact@v3
|
|
with:
|
|
name: app
|
|
path: app/build/outputs/apk/debug/*.apk
|