diff --git a/.github/workflows/android.yml b/.github/workflows/android.yml new file mode 100644 index 0000000..a4734a9 --- /dev/null +++ b/.github/workflows/android.yml @@ -0,0 +1,28 @@ +name: Build & Publish Debug APK + +on: + 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 + - name: Make Gradle executable + run: chmod +x ./gradlew + - name: Build with Gradle + run: ./gradlew build + - name: Build Debug APK + run: ./gradlew assembleDebug + - name: Releasing using Hub + uses: ShaunLWM/action-release-debugapk@master + env: + GITHUB_TOKEN: ${{ secrets.TOKEN }} + APP_FOLDER: app + RELEASE_TITLE: New Build