Skip to content

Commit

Permalink
[develop]: 고용량 파일 Slack 업로드 에러 해결
Browse files Browse the repository at this point in the history
Slack Upload File 버전 업그레이드
v1  -> v3
  • Loading branch information
dogdduddy committed Apr 9, 2023
1 parent f1bcc86 commit 292e6dd
Showing 1 changed file with 32 additions and 32 deletions.
64 changes: 32 additions & 32 deletions .github/workflows/android.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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'

0 comments on commit 292e6dd

Please sign in to comment.