Skip to content

러닝 시작, 종료 api 연결 #34

러닝 시작, 종료 api 연결

러닝 시작, 종료 api 연결 #34

Workflow file for this run

name: Walkie Android CI
on:
pull_request:
branches: [ "main", "develop", "compose/develop" ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: set up JDK 11
uses: actions/setup-java@v3
with:
java-version: '11'
distribution: 'zulu'
cache: gradle
- name: Grant execute permission for gradlew
run: chmod +x gradlew
- name: Create google-service
run: echo '${{ secrets.GOOGLE_SERVICES_JSON }}' > ./presentation/google-services.json
- name: Create Local Properties
run: echo '${{ secrets.LOCAL_PROPERTIES }}' > ./local.properties
- name: Build with Gradle
run: ./gradlew build
- name: Build Debug APK
run: bash ./gradlew assembleDebug --stacktrace
- name: Assemble release build
run: ./gradlew bundleRelease
- name: Signing App Bundle
uses: r0adkll/sign-android-release@v1
with:
releaseDirectory: app/build/outputs/bundle/release
signingKeyBase64: ${{ secrets.KEYSTORE_FILE }}
alias: ${{ secrets.KEY_ALIAS }}
keyStorePassword: ${{ secrets.KEYSTORE_PASSWORD }}
keyPassword: ${{ secrets.KEY_PASSWORD }}
- name: 테스트용 AAB artifact 업로드
uses: actions/upload-artifact@v3
with:
name: app-release.aab
path: app/build/outputs/bundle/release/app-release.aab