From 665bf64a9bf5502a362d454ce00be25ef22a2859 Mon Sep 17 00:00:00 2001 From: Aravind Kumar Date: Mon, 12 Feb 2024 17:48:32 +0530 Subject: [PATCH] Update publish-snapshot.yml --- .github/workflows/publish-snapshot.yml | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/.github/workflows/publish-snapshot.yml b/.github/workflows/publish-snapshot.yml index b5acc24c..974b390c 100644 --- a/.github/workflows/publish-snapshot.yml +++ b/.github/workflows/publish-snapshot.yml @@ -20,7 +20,16 @@ jobs: - name: Setup Gradle uses: gradle/gradle-build-action@v2 - name: Setup local.properties - run: echo "sdk.dir=$ANDROID_HOME" >> local.properties + run: | + cat << EOF >> local.properties + sdk.dir=$ANDROID_HOME + host="${{ secrets.HOST }}" + APIKey="${{ secrets.API_KEY }}" + deliveryToken="${{ secrets.DELIVERY_TOKEN }}" + environment="${{ secrets.ENVIRONMENT }}" + contentType="${{ secrets.CONTENT_TYPE }}" + assetUid="${{ secrets.ASSET_UID }}" + EOF - name: Build the SDK - Snapshot run: | ./gradlew clean build