fix: replace v4 by v3 in the android-build file #4
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 Android APK | |
on: | |
push: | |
branches: | |
- M1 | |
workflow_dispatch: | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Setup JDK | |
uses: actions/setup-java@v4 | |
with: | |
distribution: "temurin" | |
java-version: "17" | |
- name: Set up Android SDK | |
uses: android-actions/setup-android@v4 | |
with: | |
api-level: 34 | |
build-tools: 34.0.0 | |
- name: Build APK | |
run: ./gradlew assembleRelease | |
- name: Upload APK | |
uses: actions/upload-artifact@v3 | |
with: | |
name: app-release-apk | |
path: app/build/outputs/apk/release/app-release.apk |