fix: remove deprecated translation #265
Workflow file for this run
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: | |
| workflow_dispatch: | |
| pull_request: | |
| paths-ignore: | |
| - "*.md" | |
| - ".github/**/*.md" | |
| push: | |
| paths-ignore: | |
| - "*.md" | |
| - ".github/**/*.md" | |
| jobs: | |
| test: | |
| name: Run Lint & Unit Tests | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Check out code | |
| uses: actions/checkout@v4 | |
| - name: Set up JDK 17 | |
| uses: actions/setup-java@v4 | |
| with: | |
| java-version: '17' | |
| distribution: 'temurin' | |
| cache: gradle | |
| - name: Grant execute permission for gradlew | |
| run: chmod +x gradlew | |
| - name: Run lint | |
| run: ./gradlew lintDebug | |
| - name: Run unit tests | |
| run: ./gradlew testDebugUnitTest | |
| - name: Upload Test & Lint Reports | |
| uses: actions/upload-artifact@v4 | |
| if: failure() | |
| with: | |
| name: test-and-lint-reports | |
| path: app/build/reports/ | |
| build: | |
| name: Build APK | |
| needs: test | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Check out code | |
| uses: actions/checkout@v4 | |
| - name: Set up JDK 17 | |
| uses: actions/setup-java@v4 | |
| with: | |
| java-version: '17' | |
| distribution: 'temurin' | |
| cache: gradle | |
| - name: Grant execute permission for gradlew | |
| run: chmod +x gradlew | |
| - name: Build debug APK | |
| run: ./gradlew assembleDebug | |
| - name: Upload Debug APK | |
| if: success() | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: LibreFit-debug.apk | |
| path: app/build/outputs/apk/debug/LibreFit-debug.apk |