diff --git a/.github/workflows/pr.yml b/.github/workflows/pr.yml index 70a03f92..b4489867 100644 --- a/.github/workflows/pr.yml +++ b/.github/workflows/pr.yml @@ -43,23 +43,9 @@ jobs: - name: Build app id: buildapp run: | - ./gradlew clean assembleDebug bundleDebug testDebugUnitTest --no-daemon + ./gradlew clean assembleDebug testDebugUnitTest --no-daemon apks=$(find app/build/outputs \( -name '*.apk' -or -name '*.aab' \) -print0 | tr '\0' ',' | sed 's/,$//') echo "apks=$apks" >> "$GITHUB_OUTPUT" - - name: Tar build dirs - run: | - tar -czf build.tgz ./app/. - - uses: actions/upload-artifact@v6 - id: upload-build-dirs - with: - name: "${{ env.BUILD_DIRS_ARTIFACT }}" - path: build.tgz - if-no-files-found: error - - uses: actions/upload-artifact@v6 - with: - name: APKs - path: "${{ steps.buildapp.outputs.apks }}" - compression-level: 0 test-patch: runs-on: ubuntu-latest diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 38b75c35..86c17c4e 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -77,7 +77,8 @@ jobs: uses: actions/upload-artifact@v6 with: name: AAB - path: "${{ steps.buildaab.outputs.aab }}" + path: | + app/build/outputs/bundle/**/*.aab compression-level: 0 - name: Create GitHub release env: