1
0
mirror of https://github.com/NekoX-Dev/NekoX.git synced 2024-12-03 12:50:11 +01:00

Create android.yml

This commit is contained in:
猫耳逆变器 2020-02-20 20:44:15 +08:00 committed by NekoInverter
parent 097f212062
commit 0fd8f86bfe
No known key found for this signature in database
GPG Key ID: 280D6CCCF95715F9

28
.github/workflows/android.yml vendored Normal file
View File

@ -0,0 +1,28 @@
name: Nekogram
on: [push]
jobs:
linux:
name: Build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: set up JDK 1.8
uses: actions/setup-java@v1
with:
java-version: 1.8
- name: Build
env:
KEYSTORE_PASS: ${{ secrets.KEYSTORE_PASS }}
ALIAS_NAME: ${{ secrets.ALIAS_NAME }}
ALIAS_PASS: ${{ secrets.ALIAS_PASS }}
run: |
./gradlew assembleAfatDebugMultidex
./gradlew assembleAfatRelease
./gradlew bundleAfatRelease
- uses: actions/upload-artifact@master
name: Upload artifact
with:
name: Nekogram
path: TMessagesProj/build/outputs/