Fix initial decryption of mute lists when using amber #3585
This file contains 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: Test/Build Android | |
on: | |
pull_request: | |
branches: [main] | |
push: | |
branches: [main] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
timeout-minutes: 30 | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- name: Set up JDK 17 | |
uses: actions/setup-java@v4 | |
with: | |
distribution: 'zulu' | |
java-version: 17 | |
- name: Cache gradle | |
uses: actions/cache@v4 | |
with: | |
path: ~/.gradle/caches | |
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*') }} | |
restore-keys: | | |
${{ runner.os }}-gradle- | |
- name: Linter (gradle) | |
run: ./gradlew spotlessCheck | |
- name: Test (gradle) | |
run: ./gradlew test --no-daemon | |
- name: Android Test Report | |
uses: asadmansr/[email protected] | |
if: ${{ always() }} # IMPORTANT: run Android Test Report regardless | |
- name: Build APK (gradle) | |
run: ./gradlew assembleDebug --no-daemon | |
- name: Upload Play APK | |
uses: actions/upload-artifact@v4 | |
with: | |
name: Play Debug APK | |
path: amethyst/build/outputs/apk/play/debug/amethyst-play-universal-debug.apk | |
- name: Upload FDroid APK | |
uses: actions/upload-artifact@v4 | |
with: | |
name: FDroid Debug APK | |
path: amethyst/build/outputs/apk/fdroid/debug/amethyst-fdroid-universal-debug.apk | |
- name: Upload Compose Reports | |
uses: actions/upload-artifact@v4 | |
with: | |
name: Compose Reports | |
path: amethyst/build/compose_compiler | |
- name: Tests | |
run: ./gradlew test --no-daemon | |
- name: Upload Test Results | |
uses: actions/upload-artifact@v4 | |
with: | |
name: Test Reports | |
path: amethyst/build/reports | |