Skip to content

[Fix] S3 File Upload Method Fix #354

[Fix] S3 File Upload Method Fix

[Fix] S3 File Upload Method Fix #354

Workflow file for this run

name: Android CI
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: JDK 17
uses: actions/setup-java@v3
with:
java-version: '17'
distribution: 'adopt'
- name: Android SDK
uses: android-actions/setup-android@v2
- name: Grant Build Permission
run: chmod +x ./gradlew
- name: Create Google Services JSON File
env:
GOOGLE_SERVICES_JSON: ${{ secrets.GOOGLE_SERVICES_JSON }}
run: echo $GOOGLE_SERVICES_JSON | base64 -di > app/google-services.json
- name: Build Debug
run: ./gradlew assembleDebug
env:
SENTRY_DSN_TOKEN: ${{ secrets.SENTRY_DSN_TOKEN }}
SENTRY_AUTH_TOKEN: ${{ secrets.SENTRY_AUTH_TOKEN }}
KAKAO_APP_KEY: ${{ secrets.KAKAO_APP_KEY }}
KAKAO_OAUTH_KEY: ${{ secrets.KAKAO_OAUTH_KEY }}
- name: Build Release
run: ./gradlew assembleRelease
env:
SENTRY_DSN_TOKEN: ${{ secrets.SENTRY_DSN_TOKEN }}
SENTRY_AUTH_TOKEN: ${{ secrets.SENTRY_AUTH_TOKEN }}
KAKAO_APP_KEY: ${{ secrets.KAKAO_APP_KEY }}
KAKAO_OAUTH_KEY: ${{ secrets.KAKAO_OAUTH_KEY }}