mirror of
https://github.com/YTVanced/VancedManager
synced 2024-11-22 03:05:11 +00:00
debugging
This commit is contained in:
parent
f198d405d9
commit
9bd0bdcd2d
2 changed files with 43 additions and 1 deletions
43
.github/workflows/debug.yml
vendored
Normal file
43
.github/workflows/debug.yml
vendored
Normal file
|
@ -0,0 +1,43 @@
|
|||
name: Debug APK Builder
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- master
|
||||
- dev
|
||||
pull_request:
|
||||
branches:
|
||||
- master
|
||||
- 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: Grant rights
|
||||
run: chmod +x ./gradlew
|
||||
|
||||
- name: Build project with Gradle
|
||||
run: ./gradlew build
|
||||
|
||||
- name: Build Release APK with Gradle
|
||||
run: ./gradlew assembleDebug
|
||||
|
||||
- name: Upload to GitHub
|
||||
uses: actions/upload-artifact@v2
|
||||
with:
|
||||
name: 'Vanced-Manager'
|
||||
path: app/build/outputs/apk/debug/app-debug.apk
|
||||
|
||||
- name: Upload to Discord
|
||||
uses: sinshutu/upload-to-discord@master
|
||||
env:
|
||||
DISCORD_WEBHOOK: ${{ secrets.DISCORD_WEBHOOK }}
|
||||
with:
|
||||
args: app/build/outputs/apk/debug/app-debug.apk
|
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -1,6 +1,5 @@
|
|||
.gradle/
|
||||
.idea/
|
||||
.github/
|
||||
build/
|
||||
out/
|
||||
local.properties
|
||||
|
|
Loading…
Reference in a new issue