Skip to content

Commit

Permalink
불필요한 변경 제거
Browse files Browse the repository at this point in the history
  • Loading branch information
JuTaK97 committed Sep 8, 2023
1 parent 5248d1b commit 999e99a
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 55 deletions.
52 changes: 1 addition & 51 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,54 +65,4 @@ jobs:
${{ secrets.secrets_xml_staging }}
EOF
- name: Build debug APK
run: ./gradlew assembleStagingDebug --stacktrace
build-staging:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Setup Java
uses: actions/setup-java@v2
with:
java-version: 17
distribution: 'adopt'
- name: Clean build
run: ./gradlew clean
- name: Setup google-services.json (Staging)
run: |
mkdir -p ./app/src/staging
cat << EOF > ./app/src/staging/google-services.json
${{ secrets.google_services_json_staging }}
EOF
- name: Setup gcp-service-account.json (Staging)
run: |
cat << EOF > ./gcp-service-account-staging.json
${{ secrets.app_distribution_service_account_staging }}
EOF
- name: Setup secrets.xml (Staging)
run: |
mkdir -p ./app/src/staging/res/values
cat << EOF > ./app/src/staging/res/values/secrets.xml
${{ secrets.secrets_xml_staging }}
EOF
- name: Decode Keystore
env:
ENCODED_STRING: ${{ secrets.KEYSTORE }}
run: |
mkdir -p ./app/keystore
echo $ENCODED_STRING | base64 -di > ./app/keystore/android.jks
- name: Build production apk
run: ./gradlew assembleStagingRelease
env:
SIGNING_KEY_ALIAS: ${{ secrets.SIGNING_KEY_ALIAS }}
SIGNING_KEY_PASSWORD: ${{ secrets.SIGNING_KEY_PASSWORD }}
SIGNING_STORE_PASSWORD: ${{ secrets.SIGNING_STORE_PASSWORD }}
- name: Slack Upload APK
uses: MeilCli/slack-upload-file@v1
with:
slack_token: ${{ secrets.SLACK_READ_WRITE_TOKEN }}
channels: ${{ secrets.SLACK_DEPLOY_CHANNEL }}
file_path: './app/build/outputs/apk/staging/release/app-staging-release.apk'
file_name: 'app-staging-release.apk'
file_type: 'apk'
initial_comment: 'staging-release APK'
run: ./gradlew assembleStagingDebug --stacktrace
4 changes: 0 additions & 4 deletions app/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -116,10 +116,6 @@ android {
}
}

tasks.withType(org.jetbrains.kotlin.gradle.tasks.KotlinCompile::class).all {
kotlinOptions.freeCompilerArgs += listOf("-Xuse-experimental=androidx.compose.ui.ExperimentalCompose", "-Xuse-experimental=kotlinx.coroutines.ExperimentalCoroutinesApi")
}

dependencies {
testImplementation("junit:junit:4.13.2")
implementation("androidx.legacy:legacy-support-v4:1.0.0")
Expand Down

0 comments on commit 999e99a

Please sign in to comment.