Skip to content

Commit 1403b62

Browse files
authored
Update publish-release.yml
1 parent ae9e920 commit 1403b62

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

.github/workflows/publish-release.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,17 @@ jobs:
1212
uses: actions/checkout@v3
1313
- name: Setup Gradle
1414
uses: gradle/gradle-build-action@v2
15+
- name: Setup local.properties
16+
run: |
17+
cat << EOF >> local.properties
18+
sdk.dir=$ANDROID_HOME
19+
host="${{ secrets.HOST }}"
20+
APIKey="${{ secrets.API_KEY }}"
21+
deliveryToken="${{ secrets.DELIVERY_TOKEN }}"
22+
environment="${{ secrets.ENVIRONMENT }}"
23+
contentType="${{ secrets.CONTENT_TYPE }}"
24+
assetUid="${{ secrets.ASSET_UID }}"
25+
EOF
1526
- name: Gradle build and clean
1627
run: |
1728
./gradlew clean build

0 commit comments

Comments
 (0)