From 292e6ddf283c94863f58825d7db5608164d8f6a6 Mon Sep 17 00:00:00 2001 From: dogdduddy Date: Sun, 9 Apr 2023 21:12:54 +0900 Subject: [PATCH] =?UTF-8?q?[develop]:=20=EA=B3=A0=EC=9A=A9=EB=9F=89=20?= =?UTF-8?q?=ED=8C=8C=EC=9D=BC=20Slack=20=EC=97=85=EB=A1=9C=EB=93=9C=20?= =?UTF-8?q?=EC=97=90=EB=9F=AC=20=ED=95=B4=EA=B2=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Slack Upload File 버전 업그레이드 v1 -> v3 --- .github/workflows/android.yml | 64 +++++++++++++++++------------------ 1 file changed, 32 insertions(+), 32 deletions(-) diff --git a/.github/workflows/android.yml b/.github/workflows/android.yml index 00020fb7..e32f8cb9 100644 --- a/.github/workflows/android.yml +++ b/.github/workflows/android.yml @@ -8,38 +8,38 @@ on: jobs: apk: - name: Generate APK - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v3 - - name: set up JDK 11 - uses: actions/setup-java@v3 - with: - java-version: '11' - distribution: 'temurin' - cache: gradle + name: Generate APK + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + - name: set up JDK 11 + uses: actions/setup-java@v3 + with: + java-version: '11' + distribution: 'temurin' + cache: gradle - - name: Create google-service - run: echo '${{ secrets.GOOGLE_SERVICES_JSON }}' > ./presentation/google-services.json + - 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: Create Local Properties + run: echo '${{ secrets.LOCAL_PROPERTIES }}' > ./local.properties - - name: Build debug APK - run: bash ./gradlew assembleDebug --stacktrace - - - name: Upload APK - uses: actions/upload-artifact@v3 - with: - name: app - path: app/build/outputs/apk/debug - - - name: Slack - Upload APK - uses: MeilCli/slack-upload-file@v1.0.0 - with: - slack_token: ${{ secrets.SLACK_TOKEN }} - channels: ${{ secrets.SLACK_CHANNEL }} - initial_comment: 'APK File Upload' - file_path: 'app/build/outputs/apk/debug/app-debug.apk' - file_name: 'app-debug.apk' - file_type: 'apk' + - name: Build debug APK + run: bash ./gradlew assembleDebug --stacktrace + + - name: Upload APK + uses: actions/upload-artifact@v3 + with: + name: app + path: app/build/outputs/apk/debug + + - name: Slack - Upload APK + uses: MeilCli/slack-upload-file@v3 + with: + slack_token: ${{ secrets.SLACK_TOKEN }} + channel_id: ${{ secrets.SLACK_CHANNEL }} + initial_comment: 'APK File Upload' + file_path: 'app/build/outputs/apk/debug/app-debug.apk' + file_name: 'app-debug.apk' + file_type: 'apk'