Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

JSON GHA Step #75

Merged
merged 2 commits into from
Oct 5, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 2 additions & 7 deletions .github/workflows/Build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -117,12 +117,9 @@ jobs:
commit_message: "🤖 Updates screenshots"

- name: Google Services JSON file
if: always()
env:
DATA: ${{ secrets.GOOGLE_SERVICES_JSON }}
run: |
cat /home/runner/work/SocialWorkReviewer/SocialWorkReviewer/app/google-services.json | base64
echo $DATA > /home/runner/work/SocialWorkReviewer/SocialWorkReviewer/app/google-services.json
run: echo $DATA | base64 -di > app/google-services.json

- name: Run local tests
run: ./gradlew testDebug :lint:test
Expand Down Expand Up @@ -223,9 +220,7 @@ jobs:
- name: Google Services JSON file
env:
DATA: ${{ secrets.GOOGLE_SERVICES_JSON }}
run: |
cat /home/runner/work/SocialWorkReviewer/SocialWorkReviewer/app/google-services.json | base64
echo $DATA > /home/runner/work/SocialWorkReviewer/SocialWorkReviewer/app/google-services.json
run: echo $DATA | base64 -di > app/google-services.json

- name: Build projects and run instrumentation tests
uses: reactivecircus/android-emulator-runner@v2
Expand Down
5 changes: 1 addition & 4 deletions .github/workflows/NightlyBaselineProfiles.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -50,12 +50,9 @@ jobs:
run: ./gradlew check -p build-logic

- name: Google Services JSON file
if: always()
env:
DATA: ${{ secrets.GOOGLE_SERVICES_JSON }}
run: |
cat /home/runner/work/SocialWorkReviewer/SocialWorkReviewer/app/google-services.json | base64
echo $DATA > /home/runner/work/SocialWorkReviewer/SocialWorkReviewer/app/google-services.json
run: echo $DATA | base64 -di > app/google-services.json

- name: Setup GMD
run: ./gradlew :benchmarks:pixel6Api33Setup
Expand Down
4 changes: 1 addition & 3 deletions .github/workflows/Release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,9 +57,7 @@ jobs:
- name: Google Services JSON file
env:
DATA: ${{ secrets.GOOGLE_SERVICES_JSON }}
run: |
cat /home/runner/work/SocialWorkReviewer/SocialWorkReviewer/app/google-services.json | base64
echo $DATA > /home/runner/work/SocialWorkReviewer/SocialWorkReviewer/app/google-services.json
run: echo $DATA | base64 -di > app/google-services.json

- name: Build release variant including baseline profile generation
run: ./gradlew :app:assembleRelease :app:bundleRelease
Expand Down
Loading