Update README.md #33
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Android CI | |
on: [push] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Code Checkout | |
uses: actions/checkout@v1 | |
- name: Extract Signature | |
run: echo ${{secrets.KEY_FILE}} | base64 -d > $HOME/.android.jks | |
- name: set up JDK 1.8 | |
uses: actions/setup-java@v1 | |
with: | |
java-version: 1.8 | |
- name: Build with Gradle | |
run: ./gradlew assembleRelease | |
env: | |
KEY_PASS: ${{secrets.KEY_PASS}} | |
- name: Upload artifacts | |
uses: actions/upload-artifact@v2 | |
with: | |
name: ShadowsocksGostPlugin.apk | |
path: app/build/outputs/apk/release/app-release.apk | |
- name: Release Build | |
uses: meeDamian/github-release@1.0 | |
with: | |
token: ${{secrets.GITHUB_TOKEN}} | |
draft: true | |
gzip: false | |
files: app/build/outputs/apk/release/app-release.apk | |
if: github.event.created |