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