Skip to content

Commit

Permalink
fix: clean test 제거 및 디버그용 파일 경로 탐색 명령어 추가
Browse files Browse the repository at this point in the history
  • Loading branch information
Junyoung-WON committed Aug 22, 2024
1 parent bcbfe8c commit 2d2ec98
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 5 deletions.
15 changes: 13 additions & 2 deletions .github/workflows/android-cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,21 +71,32 @@ jobs:
- name: Build Release AAB
run: ./gradlew bundleRelease

- name: Run clean test
run: ./gradlew clean test
- name: check APK directory
run: |
ls -R android/Staccato_AN/app/build/outputs/apk/
- name: Upload Release APK
uses: actions/upload-artifact@v3
with:
name: app-release.apk
path: ${{ github.workspace }}/android/Staccato_AN/app/build/outputs/apk/release/*.apk

- name: Debug APK Path Issue
run: find android/Staccato_AN/app/build/outputs/apk/ -name "*.apk"

- name: check AAB directory
run: |
ls -R android/Staccato_AN/app/build/outputs/bundle/
- name: Upload Release AAB
uses: actions/upload-artifact@v3
with:
name: app-release.aab
path: ${{ github.workspace }}/android/Staccato_AN/app/build/outputs/bundle/release/*.aab

- name: Debug AAB Path Issue
run: find android/Staccato_AN/app/build/outputs/bundle/ -name "*.aab"

- name: Upload On Google Play
uses: r0adkll/upload-google-play@v1
with:
Expand Down
10 changes: 7 additions & 3 deletions .github/workflows/android-ci-cd-demo-apk.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,15 +68,19 @@ jobs:
- name: Build Debug APK
run: ./gradlew assembleDebug

- name: Clean test
run: ./gradlew clean test

- name: Upload Debug APK
uses: actions/upload-artifact@v3
with:
name: app-debug.apk
path: ${{ github.workspace }}/android/Staccato_AN/app/build/outputs/apk/debug/*.apk

- name: check APK directory
run: |
ls -R android/Staccato_AN/app/build/outputs/apk/
- name: Debug APK Path Issue
run: find android/Staccato_AN/app/build/outputs/apk/ -name "*.apk"

- name: Upload Artifact to Firebase App Distribution
uses: wzieba/Firebase-Distribution-Github-Action@v1
with:
Expand Down

0 comments on commit 2d2ec98

Please sign in to comment.