fix(l10n): Update translations from Transifex #2689
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 CI | |
| on: [push, pull_request] | |
| jobs: | |
| validation: | |
| name: Validate Gradle Wrapper | |
| runs-on: ubuntu-latest | |
| if: github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name != github.event.pull_request.base.repo.full_name | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - uses: gradle/actions/wrapper-validation@v6 | |
| lint: | |
| name: Run Lint Checks | |
| runs-on: ubuntu-latest | |
| if: github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name != github.event.pull_request.base.repo.full_name | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - name: set up JDK 21 | |
| uses: actions/setup-java@v5.2.0 | |
| with: | |
| distribution: 'temurin' | |
| java-version: 21 | |
| - name: Lint | |
| run: bash ./gradlew lint | |
| test: | |
| name: Run Unit Tests | |
| runs-on: ubuntu-latest | |
| if: github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name != github.event.pull_request.base.repo.full_name | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - name: set up JDK 21 | |
| uses: actions/setup-java@v5.2.0 | |
| with: | |
| distribution: 'temurin' | |
| java-version: 21 | |
| - name: Unit tests | |
| run: bash ./gradlew test --stacktrace | |
| apk: | |
| name: Generate APK | |
| runs-on: ubuntu-latest | |
| if: github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name != github.event.pull_request.base.repo.full_name | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - name: set up JDK 21 | |
| uses: actions/setup-java@v5.2.0 | |
| with: | |
| distribution: 'temurin' | |
| java-version: 21 | |
| - name: Build debug APK | |
| run: bash ./gradlew assembleDev --stacktrace | |
| - name: Upload APK | |
| uses: actions/upload-artifact@v7 | |
| with: | |
| name: app-dev-debug | |
| path: News-Android-App/build/outputs/apk/dev/debug/News-Android-App-dev-debug.apk |