챌린지 그만두기 기능 구현 #83
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |