Skip to content

Commit

Permalink
fix: 빌드 파일의 upload 경로 7차 수정
Browse files Browse the repository at this point in the history
github의 workspace 환경변수(절대경로) 활용
  • Loading branch information
Junyoung-WON committed Aug 22, 2024
1 parent cbb77d3 commit bcbfe8c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 12 deletions.
10 changes: 2 additions & 8 deletions .github/workflows/android-cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -74,23 +74,17 @@ jobs:
- name: Run clean test
run: ./gradlew clean test

- name: create directory path
run: |
mkdir -p android/Staccato_AN/app/build/outputs/apk/release
- name: Upload Release APK
uses: actions/upload-artifact@v3
with:
name: app-release.apk
path: android/Staccato_AN/app/build/outputs/apk/release/app-release.apk
path: ${{ github.workspace }}/android/Staccato_AN/app/build/outputs/apk/release/*.apk

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

- name: Upload On Google Play
uses: r0adkll/upload-google-play@v1
Expand Down
5 changes: 1 addition & 4 deletions .github/workflows/android-ci-cd-demo-apk.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,14 +71,11 @@ jobs:
- name: Clean test
run: ./gradlew clean test

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

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

0 comments on commit bcbfe8c

Please sign in to comment.