Skip to content

new version release

new version release #6

name: Distribute Develop
# Every time we merge to master branch we publish a release.
on:
workflow_dispatch:
push:
branches:
- master
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout the code
uses: actions/checkout@v2
- name: Set up our JDK environment
uses: actions/setup-java@v2
with:
java-version: '8'
distribution: 'zulu'
- name: Grant execute permission for gradlew
run: chmod +x gradlew
- name: Gradle check
run: ./gradlew check
- name: Build the app
run: ./gradlew assemblRelease
- name: Upload artifacts
uses: actions/upload-artifact@v2
with:
name: artifacts
path: |
samples-java/**/apk/release/*