diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index b0ee1de..6d072e7 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -20,7 +20,9 @@ jobs: uses: gradle/actions/wrapper-validation@v3 - name: Build Debug APK - run: ./gradlew assembleDebug + run: | + echo ${{ github.workspace }} + ./gradlew assembleDebug #- name: Build Release APK # run: ./gradlew assembleRelease diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 27207c0..1427f9d 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -55,8 +55,8 @@ jobs: - name: Create Release run: | + echo ${{ github.workspace }} gh release create ${{ github.ref_name }} --title "Amuzic $(echo ${{ github.ref_name }} | rev | cut -d 'v' -f 1 | rev)" --generate-notes - cd ${{ github.workspace }} - gh release upload ${{ github.ref_name }} ./app/build/outputs/apk/release/amuzic.apk ./app/build/outputs/bundle/release/amuzic.aab + gh release upload ${{ github.ref_name }} ./app/build/outputs/apk/release/amuzic.apk ./app/build/outputs/bundle/release/amuzic-bundle.aab env: GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}