Update build-release-apk.yml #6
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 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 GitHub Actions / Build and Compile APKInvalid workflow file
|
||
path: app/build/outputs/apk/release/sdAI-debug.apk |