feat: SillyTavern parity Phase 1(多 API 路由 / 宏引擎接入 / 推理内容展示) #22
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 |