Skip to content

Generated APK

Generated APK #1

name: Generated APK
on:
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set Up JDK
uses: actions/setup-java@v4
with:
distribution: 'zulu' # See 'Supported distributions' for available options
java-version: '17'
cache: 'gradle'
- name: Change wrapper permissions
run: chmod +x ./gradlew
# Create APK Release
- name: Build apk
run: |
ANDROID_STORE_PASSWORD=${{ secrets.ANDROID_STORE_PASSWORD }}
ANDROID_KEY_PASSWORD=${{ secrets.ANDROID_KEY_PASSWORD }}
bash build-apk.sh
# Upload Artifact Build
- name: Upload APK
uses: actions/upload-artifact@v3
with:
name: plain-app
path: /app/build/outputs/apk/free/release/app/