Skip to content

build에도 ignore 추가 #5

build에도 ignore 추가

build에도 ignore 추가 #5

Workflow file for this run

name: Common Setup
on:
push:
paths-ignore:
- 'README.md'
- '.all-contributorsrc'
workflow_call:
inputs: {}
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