Polish: referral fallback, BackHandler, cleartext check, strings #37
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: CI | ||
|
Check failure on line 1 in .github/workflows/ci.yml
|
||
| on: | ||
| push: | ||
| branches: [main] | ||
| pull_request: | ||
| branches: [main] | ||
| env: | ||
| FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: true | ||
| jobs: | ||
| build: | ||
| runs-on: ubuntu-latest | ||
| steps: | ||
| - uses: actions/checkout@v4 | ||
| - name: Set up JDK 17 | ||
| uses: actions/setup-java@v4 | ||
| with: | ||
| java-version: '17' | ||
| distribution: 'temurin' | ||
| - name: Setup Gradle | ||
| uses: gradle/actions/setup-gradle@v4 | ||
| - name: Build debug APK | ||
| run: ./gradlew assembleDebug | ||
| - name: Run lint | ||
| run: ./gradlew lintDebug | ||
| - name: Decode keystore | ||
| if: ${{ secrets.KEYSTORE_BASE64 != '' }} | ||
| run: echo "${{ secrets.KEYSTORE_BASE64 }}" | base64 -d > app/release.keystore | ||
| - name: Build release APK | ||
| if: ${{ secrets.KEYSTORE_BASE64 != '' }} | ||
| run: ./gradlew assembleRelease | ||
| env: | ||
| CASHPILOT_KEYSTORE_PATH: release.keystore | ||
| CASHPILOT_KEYSTORE_PASSWORD: ${{ secrets.KEYSTORE_PASSWORD }} | ||
| CASHPILOT_KEY_ALIAS: ${{ secrets.KEY_ALIAS }} | ||
| CASHPILOT_KEY_PASSWORD: ${{ secrets.KEY_PASSWORD }} | ||
| - name: Remove keystore | ||
| if: always() | ||
| run: rm -f app/release.keystore | ||
| - name: Upload debug APK | ||
| uses: actions/upload-artifact@v4 | ||
| with: | ||
| name: app-debug | ||
| path: app/build/outputs/apk/debug/app-debug.apk | ||
| - name: Upload release APK | ||
| if: github.event_name == 'push' | ||
| uses: actions/upload-artifact@v4 | ||
| with: | ||
| name: app-release | ||
| path: app/build/outputs/apk/release/app-release.apk | ||