mirror of
https://github.com/YTVanced/VancedManager
synced 2024-11-25 12:45:12 +00:00
update .yml
This commit is contained in:
parent
534eaae767
commit
1d93648c4e
1 changed files with 23 additions and 23 deletions
46
.github/workflows/android.yml
vendored
46
.github/workflows/android.yml
vendored
|
@ -1,33 +1,33 @@
|
|||
name: Signed APK Builder
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- master
|
||||
push:
|
||||
branches:
|
||||
- master
|
||||
|
||||
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
|
||||
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: Grant rights
|
||||
run: chmod +x ./gradlew
|
||||
|
||||
- name: Build project with Gradle
|
||||
run: ./gradlew build
|
||||
- name: Build project with Gradle
|
||||
run: ./gradlew build
|
||||
|
||||
- name: Build Release APK with Gradle
|
||||
run: ./gradlew assembleRelease
|
||||
|
||||
- uses: r0adkll/sign-android-release@v1
|
||||
with:
|
||||
releaseDirectory: ./app/release
|
||||
signingKeyBase64: ${{ secrets.TOKEN }}
|
||||
alias: ${{ secrets.ALIAS }}
|
||||
keyStorePassword: ${{ secrets.KEY_STORE_PASSWORD }}
|
||||
- name: Build Release APK with Gradle
|
||||
run: ./gradlew assembleRelease
|
||||
|
||||
- uses: r0adkll/sign-android-release@v1
|
||||
with:
|
||||
releaseDirectory: ./app/release
|
||||
signingKeyBase64: ${{ secrets.TOKEN }}
|
||||
alias: ${{ secrets.ALIAS }}
|
||||
keyStorePassword: ${{ secrets.KEY_STORE_PASSWORD }}
|
||||
|
||||
|
|
Loading…
Reference in a new issue