From acc378d5fb03a3050d678240ff6daf6b931d4c3a Mon Sep 17 00:00:00 2001 From: Yurii Surzhykov Date: Fri, 31 May 2024 14:19:34 -0700 Subject: [PATCH] Possible fix for fetching aab file Signed-off-by: Yurii Surzhykov --- .github/workflows/release_feature_github.yaml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release_feature_github.yaml b/.github/workflows/release_feature_github.yaml index 93c6d8c..343ac98 100644 --- a/.github/workflows/release_feature_github.yaml +++ b/.github/workflows/release_feature_github.yaml @@ -46,12 +46,15 @@ jobs: - name: Get AAB file path id: aab-path - run: echo "path=$(find . -regex '^.*/build/outputs/bundle/release/*\.aab$' -type f | head -1)" >> $GITHUB_OUTPUT + run: | + # Find the AAB file, accounting for potential variations in the filename. + aab_file=$(find . -name '*.aab' -type f -path "*build/outputs/bundle/release/*" | head -1) + echo "aab_file=${aab_file}" >> $GITHUB_OUTPUT - name: Upload AAB file to Artifacts uses: actions/upload-artifact@v3 with: - path: ${{ steps.aab-path.outputs.path }} + path: ${{ steps.aab-path.outputs.aab_file }} - name: Generate Universal APK file uses: snnaplab/universal-apk-generate-action@v1