Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 14 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,9 @@ jobs:
uses: actions/upload-artifact@v4
with:
name: release-bundle
path: app/build/outputs/bundle/**/*.aab
path: |
app/build/outputs/bundle/**/*.aab
app/build/outputs/mapping/release/mapping.txt
Copy link

Copilot AI Sep 9, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The mapping file path is hardcoded to the release build variant. Consider using a wildcard pattern like app/build/outputs/mapping/**/mapping.txt to support different build variants and configurations.

Suggested change
app/build/outputs/mapping/release/mapping.txt
app/build/outputs/mapping/**/mapping.txt

Copilot uses AI. Check for mistakes.
retention-days: 30

release:
Expand Down Expand Up @@ -290,6 +292,15 @@ jobs:
echo "No debug symbols found"
fi

# Look for ProGuard/R8 mapping file
MAPPING_PATH=$(find release-artifacts -name "mapping.txt" 2>/dev/null | head -1)
if [ -n "$MAPPING_PATH" ]; then
echo "mapping_path=$MAPPING_PATH" >> $GITHUB_OUTPUT
echo "Found ReTrace mapping file at: $MAPPING_PATH"
else
echo "No ReTrace mapping file found"
fi

- name: Determine release track and status
id: release-config
run: |
Expand Down Expand Up @@ -331,6 +342,7 @@ jobs:
track: ${{ steps.release-config.outputs.track }}
status: ${{ steps.release-config.outputs.status }}
debugSymbols: ${{ steps.find-files.outputs.symbols_path }}
mappingFile: ${{ steps.find-files.outputs.mapping_path }}
whatsNewDirectory: whatsnew/
continue-on-error: true
id: upload-with-symbols
Expand All @@ -344,6 +356,7 @@ jobs:
releaseFiles: ${{ steps.find-files.outputs.aab_path }}
track: ${{ steps.release-config.outputs.track }}
status: ${{ steps.release-config.outputs.status }}
mappingFile: ${{ steps.find-files.outputs.mapping_path }}
whatsNewDirectory: whatsnew/

- name: Play Store Upload Summary
Expand Down
Loading