Skip to content

Update build-release-apk.yml #6

Update build-release-apk.yml

Update build-release-apk.yml #6

name: Build and Compile APK
"on":
push:
branches:
- master
- termux-experimental
jobs:
build_apk:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up JDK 17
uses: actions/setup-java@v4
with:
java-version: 17
distribution: 'adopt'
- name: Build APKs
run: |
chmod +x ./gradlew
./gradlew assembleRelease
./gradlew assembleDebug
- name: Upload APKs
uses: actions/upload-artifact@v4
with:
name: sdAI-release.apk
path: app/build/outputs/apk/release/sdAI-release.apk
name: sdAI-debug.apk

Check failure on line 28 in .github/workflows/build-release-apk.yml

View workflow run for this annotation

GitHub Actions / Build and Compile APK

Invalid workflow file

The workflow is not valid. .github/workflows/build-release-apk.yml (Line: 28, Col: 11): 'name' is already defined .github/workflows/build-release-apk.yml (Line: 29, Col: 11): 'path' is already defined
path: app/build/outputs/apk/release/sdAI-debug.apk