feat: SillyTavern parity Phase 0(角色卡分段存储 / Persona / 世界书字段 / 多聊天数据层)(#2) #21
This file contains hidden or 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: Android verification | |
| on: | |
| push: | |
| branches: [main] | |
| pull_request: | |
| permissions: | |
| contents: read | |
| concurrency: | |
| group: android-${{ github.ref }} | |
| cancel-in-progress: true | |
| jobs: | |
| verify: | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 30 | |
| steps: | |
| - name: Check out source | |
| uses: actions/checkout@v7 | |
| - name: Set up JDK 17 | |
| uses: actions/setup-java@v5 | |
| with: | |
| distribution: temurin | |
| java-version: 17 | |
| cache: gradle | |
| - name: Verify Gradle wrapper | |
| uses: gradle/actions/wrapper-validation@v4 | |
| - name: Run tests, lint, and builds | |
| run: ./gradlew testDebugUnitTest lintDebug assembleDebug assembleRelease --no-daemon | |
| - name: Upload APKs | |
| if: success() | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: JavaTavern-apks | |
| path: | | |
| app/build/outputs/apk/debug/app-debug.apk | |
| app/build/outputs/apk/release/app-release.apk | |
| if-no-files-found: error |