Skip to content

Commit

Permalink
fix: add sed command for secret values and remove cat
Browse files Browse the repository at this point in the history
  • Loading branch information
charliemangano committed Nov 10, 2024
1 parent 2ba1878 commit e31cb7c
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions .github/workflows/AndroidBuild.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,12 +31,11 @@ jobs:
POWERSYNC_URL: ${{ secrets.POWERSYNC_URL }}
TEST: "TEST_CI_VALUE"
run: |
# sed "s|SUPABASE_KEY|$SUPABASE_KEY|g;" secrets.defaults.properties > secrets.properties
# sed "s|SERVICE_KEY|SERVICE_KEY|g;" secrets.defaults.properties > secrets.properties
# sed "s|SUPABASE_URL|SUPABASE_URL|g;" secrets.defaults.properties > secrets.properties
# sed "s|POWERSYNC_URL|POWERSYNC_URL|g;" secrets.defaults.properties > secrets.properties
sed "s|TEST|TEST|g;" secrets.defaults.properties > secrets.properties
cat secrets.properties
sed "s|SUPABASE_KEY|$SUPABASE_KEY|g;" secrets.defaults.properties > secrets.properties
sed "s|SERVICE_KEY|SERVICE_KEY|g;" secrets.defaults.properties > secrets.properties
sed "s|SUPABASE_URL|SUPABASE_URL|g;" secrets.defaults.properties > secrets.properties
sed "s|POWERSYNC_URL|POWERSYNC_URL|g;" secrets.defaults.properties > secrets.properties
sed "s|TEST|TEST|g;" secrets.defaults.properties > secrets.properties
- name: Build with Gradle
Expand Down

0 comments on commit e31cb7c

Please sign in to comment.