From ca576028156decc007dc4774cfdefc68a89c0050 Mon Sep 17 00:00:00 2001 From: charlie mangano Date: Sat, 9 Nov 2024 14:58:20 +0100 Subject: [PATCH] chore: add prints in ci to be able to debug Should print test values and not actual api keys and client urls. --- .github/workflows/AndroidBuild.yml | 11 +++++++---- apikeys.defaults.properties | 3 ++- 2 files changed, 9 insertions(+), 5 deletions(-) diff --git a/.github/workflows/AndroidBuild.yml b/.github/workflows/AndroidBuild.yml index 06bb68424..56118a07a 100644 --- a/.github/workflows/AndroidBuild.yml +++ b/.github/workflows/AndroidBuild.yml @@ -29,11 +29,14 @@ jobs: SERVICE_KEY: ${{ secrets.SERVICE_KEY }} SUPABASE_URL: ${{ secrets.SUPABASE_URL }} POWERSYNC_URL: ${{ secrets.POWERSYNC_URL }} + TEST: "TEST" run: | - sed "s|SUPABASE_KEY|$SUPABASE_KEY|g;" apikeys.defaults.properties > apikeys.properties - sed "s|SERVICE_KEY|SERVICE_KEY|g;" apikeys.defaults.properties > apikeys.properties - sed "s|SUPABASE_URL|SUPABASE_URL|g;" apikeys.defaults.properties > apikeys.properties - sed "s|POWERSYNC_URL|POWERSYNC_URL|g;" apikeys.defaults.properties > apikeys.properties + # sed "s|SUPABASE_KEY|$SUPABASE_KEY|g;" apikeys.defaults.properties > apikeys.properties + # sed "s|SERVICE_KEY|SERVICE_KEY|g;" apikeys.defaults.properties > apikeys.properties + # sed "s|SUPABASE_URL|SUPABASE_URL|g;" apikeys.defaults.properties > apikeys.properties + # sed "s|POWERSYNC_URL|POWERSYNC_URL|g;" apikeys.defaults.properties > apikeys.properties + sed "s|TEST|TEST|g;" apikeys.defaults.properties > apikeys.properties + cat apikeys.properties - name: Build with Gradle diff --git a/apikeys.defaults.properties b/apikeys.defaults.properties index b2e3a4275..fee2df6bf 100644 --- a/apikeys.defaults.properties +++ b/apikeys.defaults.properties @@ -4,4 +4,5 @@ POWERSYNC_URL= SUPABASE_KEY= SERVICE_KEY= -SUPABASE_URL= \ No newline at end of file +SUPABASE_URL= +TEST= \ No newline at end of file