Skip to content

[chore] 내용 수정 + 위치 재수정 #3

[chore] 내용 수정 + 위치 재수정

[chore] 내용 수정 + 위치 재수정 #3

Workflow file for this run

name: Common Setup
on:
workflow_call:
push:
paths-ignore:
- 'README.md'
- '.all-contributorsrc'
jobs:
setup:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Grant execute permission for gradlew
run: chmod +x gradlew
- name: Putting Json data
env:
GOOGLE_SERVICES_JSON: ${{ secrets.GOOGLE_SERVICES_JSON }}
GOOGLE_SERVICES_JSON_DEBUG: ${{ secrets.GOOGLE_SERVICES_JSON_DEBUG }}
run: |
mkdir /home/runner/work/Dorabangs_Android/Dorabangs_Android/app/release
echo "$GOOGLE_SERVICES_JSON" > /home/runner/work/Dorabangs_Android/Dorabangs_Android/app/release/google-services.json
echo "$GOOGLE_SERVICES_JSON_DEBUG" > /home/runner/work/Dorabangs_Android/Dorabangs_Android/app/google-services.json
- name: Access SERVER_BASE_URL
run: |
echo server_base_url=\"${{ secrets.SERVER_BASE_URL }}\" > local.properties
- name: Upload setup artifacts
uses: actions/upload-artifact@v4
with:
name: common-setup-files
path: |
/home/runner/work/Dorabangs_Android/Dorabangs_Android/local.properties
/home/runner/work/Dorabangs_Android/Dorabangs_Android/app/google-services.json
/home/runner/work/Dorabangs_Android/Dorabangs_Android/app/release/google-services.json