Skip to content

Commit

Permalink
Fixed GHA
Browse files Browse the repository at this point in the history
  • Loading branch information
JackEblan committed Jul 11, 2024
1 parent 32daa88 commit 2535454
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 7 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/Build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -180,6 +180,14 @@ jobs:
- name: Setup Gradle
uses: gradle/actions/setup-gradle@v3

- name: Create Google Services JSON file
run: cat /home/runner/work/SocialWorkReviewer/SocialWorkReviewer/app/google-services.json | base64

- name: Putting Google Services JSON data
env:
DATA: ${{ secrets.GOOGLE_SERVICES_JSON }}
run: echo $DATA > /home/runner/work/SocialWorkReviewer/SocialWorkReviewer/app/google-services.json

- name: Build projects and run instrumentation tests
uses: reactivecircus/android-emulator-runner@v2
with:
Expand Down
8 changes: 8 additions & 0 deletions .github/workflows/Release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,14 @@ jobs:
- name: Accept Android licenses
run: yes | "$ANDROID_HOME"/cmdline-tools/latest/bin/sdkmanager --licenses || true

- name: Create Google Services JSON file
run: cat /home/runner/work/SocialWorkReviewer/SocialWorkReviewer/app/google-services.json | base64

- name: Putting Google Services JSON data
env:
DATA: ${{ secrets.GOOGLE_SERVICES_JSON }}
run: echo $DATA > /home/runner/work/SocialWorkReviewer/SocialWorkReviewer/app/google-services.json

- name: Build release variant including baseline profile generation
run: ./gradlew :app:assembleRelease
-Pandroid.testInstrumentationRunnerArguments.androidx.benchmark.enabledRules=BaselineProfile
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -65,13 +65,6 @@ internal class DefaultCountDownTimerWrapper @Inject constructor() : CountDownTim
_countDownTimer?.cancel()

_countDownTimeFlow.resetReplayCache()

_countDownTimeFlow.tryEmit(
CountDownTime(
minutes = "",
isFinished = true,
),
)
}

private fun remainingTimeFormat(millisUntilFinished: Long): String {
Expand Down

0 comments on commit 2535454

Please sign in to comment.