mirror of
https://github.com/YTVanced/VancedManager
synced 2024-10-31 16:22:38 +00:00
Update android.yml
This commit is contained in:
parent
3c88e8277d
commit
7bb5a64a04
1 changed files with 10 additions and 20 deletions
28
.github/workflows/android.yml
vendored
28
.github/workflows/android.yml
vendored
|
@ -1,4 +1,3 @@
|
|||
name: Build & Publish Debug APK
|
||||
|
||||
on:
|
||||
push:
|
||||
|
@ -7,22 +6,13 @@ on:
|
|||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v1
|
||||
- name: set up JDK 1.8
|
||||
uses: actions/setup-java@v1
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: r0adkll/sign-android-release@v1
|
||||
with:
|
||||
java-version: 1.8
|
||||
- name: Make Gradle executable
|
||||
run: chmod +x ./gradlew
|
||||
- name: Build with Gradle
|
||||
run: ./gradlew build
|
||||
- name: Build Debug APK
|
||||
run: ./gradlew assembleDebug
|
||||
- name: Releasing using Hub
|
||||
uses: ShaunLWM/action-release-debugapk@master
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.TOKEN }}
|
||||
APP_FOLDER: app
|
||||
RELEASE_TITLE: New Build
|
||||
releaseDirectory: app/build/outputs/apk/release
|
||||
signingKeyBase64: ${{ secrets.SIGNING_KEY }}
|
||||
alias: ${{ secrets.ALIAS }}
|
||||
keyStorePassword: ${{ secrets.KEY_STORE_PASSWORD }}
|
||||
keyPassword: ${{ secrets.KEY_PASSWORD }}
|
||||
|
||||
|
|
Loading…
Reference in a new issue