Skip to content

미션 데이터 API 호출 시 동시 호출 #121

미션 데이터 API 호출 시 동시 호출

미션 데이터 API 호출 시 동시 호출 #121

Workflow file for this run

name: android-ci
on:
pull_request:
branches:
- master
- 'dev'
workflow_dispatch:
jobs:
build:
runs-on: macos-latest
environment: Android CI/CD
steps:
- uses: actions/checkout@v2
- name: Create Google Services JSON File
env:
GOOGLE_SERVICES_JSON: ${{ secrets.GOOGLE_SERVICES_JSON }}
run: |
echo "$GOOGLE_SERVICES_JSON" > google-services.json.b64
base64 -d -i google-services.json.b64 > ./app/google-services.json
- name: Create LocalProperites
env:
CREDENTIAL_WEB_CLIENT_ID: ${{ secrets.CREDENTIAL_WEB_CLIENT_ID }}
MISSION_MATE_BASE_URL: ${{ secrets.MISSION_MATE_BASE_URL }}
run: |
echo CREDENTIAL_WEB_CLIENT_ID=\"$CREDENTIAL_WEB_CLIENT_ID\" > ./local.properties
echo MISSION_MATE_BASE_URL=\"$MISSION_MATE_BASE_URL\" >> ./local.properties
- name: Generate Keystore file from Github Secrets
env:
KEYSTORE: ${{ secrets.KEYSTORE_BASE64 }}
run: |
echo "$KEYSTORE" > ./mission-mate-keystore.b64
base64 -d -i ./mission-mate-keystore.b64 > ./app/mission-mate-keystore.jks
- name: Build with Gradle
run: fastlane test