Skip to content

Commit 752a46f

Browse files
author
Maximilian Häming
authored
ci: maps api key
1 parent 5eff49b commit 752a46f

1 file changed

Lines changed: 5 additions & 3 deletions

File tree

.github/workflows/main.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,12 @@ jobs:
1919
java-version: '11'
2020
distribution: 'temurin'
2121
cache: gradle
22-
- name: Clean Gradle
23-
run: ./gradlew clean
22+
- name: Create local gradle properties files
23+
run: touch local.properties
24+
- name: Add Google Maps API Key
25+
run: echo "MAPS_API_KEY=${{secrets.MAPS_API_KEY}}" >> local.properties
2426
- name: Build debug APK
25-
run: ./gradlew assembleDebug
27+
run: ./gradlew build
2628
- name: Upload APK
2729
uses: actions/upload-artifact@v3.1.3
2830
with:

0 commit comments

Comments
 (0)