From 84923eb7e8b3706f4a305c99184f4d3df2c7dfa3 Mon Sep 17 00:00:00 2001 From: charlie mangano Date: Sun, 10 Nov 2024 22:06:22 +0100 Subject: [PATCH] fix: replace dummy values with proper secret substitution in sed --- .github/workflows/AndroidBuild.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/AndroidBuild.yml b/.github/workflows/AndroidBuild.yml index 2fd027bd5..98ef7d6e8 100644 --- a/.github/workflows/AndroidBuild.yml +++ b/.github/workflows/AndroidBuild.yml @@ -31,11 +31,11 @@ jobs: POWERSYNC_URL: ${{ secrets.POWERSYNC_URL }} TEST: "TEST_CI_VALUE" run: | - sed -e "s|SAFE_DEFAULT_VALUE_SUPABASE_KEY|$(echo supabase_key)|g;" \ - -e "s|SAFE_DEFAULT_VALUE_SERVICE_KEY|$(echo SERVICE_KEY)|g;" \ - -e "s|SAFE_DEFAULT_VALUE_SUPABASE_URL|$(echo SUPABASE_URL)|g;" \ - -e "s|SAFE_DEFAULT_VALUE_POWERSYNC_URL|$(echo POWERSYNC_URL)|g;" \ - -e "s|TEST_DEFAULT_VALUE|$(echo TEST)|g;" secrets.defaults.properties > secrets.properties + sed -e "s|SAFE_DEFAULT_VALUE_SERVICE_KEY|$SERVICE_KEY|g;" \ + -e "s|SAFE_DEFAULT_VALUE_SUPABASE_KEY|$SUPABASE_KEY|g;" \ + -e "s|SAFE_DEFAULT_VALUE_SUPABASE_URL|$SUPABASE_URL|g;" \ + -e "s|SAFE_DEFAULT_VALUE_POWERSYNC_URL|$POWERSYNC_URL|g;" \ + -e "s|TEST_DEFAULT_VALUE|$TEST|g;" secrets.defaults.properties > secrets.properties - name: Build with Gradle