Skip to content

Build & deploy Android app #2

Build & deploy Android app

Build & deploy Android app #2

Workflow file for this run

name: Publish Release APK
on:
push:
tags: [ "*" ]
workflow_dispatch:
inputs:
tag_name:
description: "Tag name to build and publish APK"
required: true
default: "latest"
jobs:
publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up JDK 11
uses: actions/setup-java@v3
with:
java-version: '11'
distribution: 'temurin'
cache: gradle
- name: Grant execute permission for gradlew
run: chmod +x gradlew
- name: Build Release APK
run: ./gradlew assembleRelease
- name: Publish APK
uses: alsrb968/action-release-apk@master
env:
GITHUB_TOKEN: ${{ secrets.TOKEN }}
APP_FOLDER: app
with:
tag_name: ${{ github.event.inputs.tag_name }}