0
0
Fork 0
mirror of https://github.com/YTVanced/VancedManager synced 2024-10-31 16:22:38 +00:00
VancedManager/.github/workflows/debug.yml
2020-08-06 11:46:07 +04:00

39 lines
No EOL
854 B
YAML

name: Debug APK Builder
on:
push:
branches:
- dev
pull_request:
branches:
- dev
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- name: set up JDK 1.8
uses: actions/setup-java@v1
with:
java-version: 1.8
- name: Write firebase config to file
run: echo $FIREBASE_CONFIG > app/google-services.json
env:
FIREBASE_CONFIG: ${{ secrets.FIREBASE_CONFIG }}
- name: Grant rights
run: chmod +x ./gradlew
- name: Build project with Gradle
run: ./gradlew build
- name: Build Debug APK with Gradle
run: ./gradlew assembleDebug
- name: Upload Debug
uses: actions/upload-artifact@v2
with:
name: 'Manager'
path: app/build/outputs/apk/debug/app-debug.apk