Merge pull request #80 from Hyesung82/feature/location #131
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Android CI | |
on: | |
push: | |
branches: [ "develop" ] | |
pull_request: | |
branches: [ "develop" ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: set up JDK 17 | |
uses: actions/setup-java@v3 | |
with: | |
java-version: '17' | |
distribution: 'temurin' | |
cache: gradle | |
- name: Grant execute permission for gradlew | |
run: chmod +x gradlew | |
- name: Access MAPS_API_KEY | |
env: | |
MAPS_API_KEY: $ | |
run: echo MAPS_API_KEY=\"$MAPS_API_KEY\" > ./local.properties | |
- name: Access GOOGLE_LOGIN_WEB_CLIENT_ID | |
env: | |
GOOGLE_LOGIN_WEB_CLIENT_ID: $ | |
run: echo google.login.web.client.id=\"$GOOGLE_LOGIN_WEB_CLIENT_ID\" >> ./local.properties | |
- name: Access BASE_URL | |
env: | |
BASE_URL: $ | |
run: echo base.url=\"BASE_URL\" >> ./local.properties | |
- name: Build with Gradle | |
run: ./gradlew build |