Skip to content

Merge pull request #28 from SSU-Plector/feat/#26-submit-form #33

Merge pull request #28 from SSU-Plector/feat/#26-submit-form

Merge pull request #28 from SSU-Plector/feat/#26-submit-form #33

Workflow file for this run

name: SSU-Plector Android PR Builder
on:
push:
branches: [ "develop" ]
pull_request:
branches: [ "develop" ]
defaults:
run:
shell: bash
working-directory: .
jobs:
build:
name: PR Checker
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Gradle cache
uses: actions/cache@v3
with:
path: |
~/.gradle/caches
~/.gradle/wrapper
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*') }}
restore-keys: |
${{ runner.os }}-gradle-
- name: set up JDK 17
uses: actions/setup-java@v3
with:
distribution: 'temurin'
java-version: 17
- name: Change gradlew permissions
run: chmod +x ./gradlew
# - name: Add Local Properties
# env:
# KAKAO_API_KEY: ${{ secrets.KAKAO_API_KEY }}
# SSU_Plector_BASE_URL: ${{ secrets.HMH_BASE_URL }}
# run: |
# echo kakaoApiKey=$KAKAO_API_KEY >> ./local.properties
# echo ssuplectorBaseUrl=$SSU_Plector_BASE_URL >> ./local.properties
# - name: Access Firebase Service
# run: echo '${{ secrets.GOOGLE_SERVICES_JSON }}' > ./app/google-services.json
- name: hello world
run: echo "Hello World!!"
- name: Build debug APK
run: ./gradlew assembleDebug --stacktrace