Skip to content

Commit

Permalink
Update publish-snapshot.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
aravindbuilt authored Feb 12, 2024
1 parent 185a2c7 commit 665bf64
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion .github/workflows/publish-snapshot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 665bf64

Please sign in to comment.