Skip to content

Commit

Permalink
chore: add prints in ci to be able to debug
Browse files Browse the repository at this point in the history
Should print test values and not actual api keys and client urls.
  • Loading branch information
charliemangano committed Nov 9, 2024
1 parent 4bd72da commit ca57602
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 5 deletions.
11 changes: 7 additions & 4 deletions .github/workflows/AndroidBuild.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
3 changes: 2 additions & 1 deletion apikeys.defaults.properties
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,5 @@
POWERSYNC_URL=
SUPABASE_KEY=
SERVICE_KEY=
SUPABASE_URL=
SUPABASE_URL=
TEST=

0 comments on commit ca57602

Please sign in to comment.