Skip to content

Update apk.yml

Update apk.yml #12

Workflow file for this run

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