From bcbfe8c26a2635e3b99869d2ccd4e6d6476790ba Mon Sep 17 00:00:00 2001 From: Junyoung-WON Date: Thu, 22 Aug 2024 18:58:57 +0900 Subject: [PATCH] =?UTF-8?q?fix:=20=EB=B9=8C=EB=93=9C=20=ED=8C=8C=EC=9D=BC?= =?UTF-8?q?=EC=9D=98=20upload=20=EA=B2=BD=EB=A1=9C=207=EC=B0=A8=20?= =?UTF-8?q?=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit github의 workspace 환경변수(절대경로) 활용 --- .github/workflows/android-cd.yml | 10 ++-------- .github/workflows/android-ci-cd-demo-apk.yml | 5 +---- 2 files changed, 3 insertions(+), 12 deletions(-) diff --git a/.github/workflows/android-cd.yml b/.github/workflows/android-cd.yml index f629a54a4..d7aa5d079 100644 --- a/.github/workflows/android-cd.yml +++ b/.github/workflows/android-cd.yml @@ -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 diff --git a/.github/workflows/android-ci-cd-demo-apk.yml b/.github/workflows/android-ci-cd-demo-apk.yml index acc9ac202..894b63824 100644 --- a/.github/workflows/android-ci-cd-demo-apk.yml +++ b/.github/workflows/android-ci-cd-demo-apk.yml @@ -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