Skip to content

Revise README for NativeModMenu documentation #21

Revise README for NativeModMenu documentation

Revise README for NativeModMenu documentation #21

Workflow file for this run

name: Android CI
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- name: Checkout
uses: actions/checkout@v6
- name: Set up JDK 17
uses: actions/setup-java@v5
with:
distribution: temurin
java-version: '17'
cache: gradle
- name: Grant execute permission for gradlew
run: chmod +x gradlew
- name: Build Debug APK
run: ./gradlew assembleDebug
- name: Collect APKs
run: |
mkdir -p apk_out
find app/build -type f -name "*.apk" -exec cp {} apk_out/ \;
ls -lh apk_out
- name: Upload Artifact
uses: actions/upload-artifact@v6
with:
name: android-apk
path: apk_out/*.apk
- name: Create Release
uses: softprops/action-gh-release@v2
with:
tag_name: v-${{ github.run_number }}
name: Build ${{ github.run_number }}
files: apk_out/*.apk