Update apk.yml #12
Workflow file for this run
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: Build & Publish Debug APK | |
on: | |
push: | |
branches: | |
- master | |
- actions | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v1 | |
- name: set up JDK 17 | |
uses: actions/setup-java@v3 | |
with: | |
distribution: "temurin" | |
java-version: 17 | |
- name: Make Gradle executable | |
run: chmod +x gradlew | |
- name: Build Debug APK | |
run: ./gradlew app:assembleDebug | |
- name: Releasing using Hub | |
uses: marvinpinto/action-automatic-releases@latest | |
with: | |
repo_token: "${{ secrets.GITHUB_TOKEN }}" | |
prerelease: false | |
automatic_release_tag: "latest" | |
title: "Auto build" | |
files: | | |
app/app/build/outputs/apk/debug/app-debug.apk |