2020-06-11 22:34:49 +02:00
|
|
|
name: Continuous develop build
|
|
|
|
on:
|
|
|
|
push:
|
|
|
|
branches:
|
|
|
|
- develop
|
|
|
|
jobs:
|
|
|
|
build:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@v2
|
|
|
|
with:
|
|
|
|
fetch-depth: 0
|
|
|
|
- name: set up JDK 1.8
|
|
|
|
uses: actions/setup-java@v1
|
|
|
|
with:
|
|
|
|
java-version: 1.8
|
|
|
|
- name: Build with Gradle
|
2020-06-11 23:19:12 +02:00
|
|
|
run: |
|
|
|
|
mkdir -p /home/runner/.android && touch /home/runner/.android/repositories.cfg
|
|
|
|
./gradlew assembleDebug
|
2020-06-11 22:34:49 +02:00
|
|
|
- name: Create release
|
|
|
|
uses: eine/tip@gha-tip
|
|
|
|
with:
|
|
|
|
token: ${{ secrets.GITHUB_TOKEN }}
|
|
|
|
cwd: ${{ github.workspace }}
|
|
|
|
files: app/build/outputs/apk/debug/app-debug.apk
|