Skip to content

Commit

Permalink
Update release.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
starry-shivam authored Jul 9, 2024
1 parent 1bbedc2 commit 283dd64
Showing 1 changed file with 8 additions and 7 deletions.
15 changes: 8 additions & 7 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -75,15 +75,16 @@ jobs:
id: sign_aab
shell: bash
run: |
AAB_FILE=app/release/app-release.aab
# find aab file
AAB_FILE=$(find app/build/outputs/bundle -name "*.aab" | head -n 1)
if [ -z "$AAB_FILE" ]; then
echo "AAB file not found"
echo "Contents of app/release:"
ls -l app/release/
exit 1
echo "No AAB file found"
echo "Contents of app/build/outputs/bundle"
ls -l app/build/outputs/bundle
exit 1
fi
echo "Found AAB file: $AAB_FILE"
echo "Found AAB file: $AAB_FILE
SIGNED_AAB_FILE=app/build/outputs/bundle/release/app-release-signed.aab
echo "${{ secrets.BASE64KEY }}" | base64 --decode > /tmp/signingkey.jks
apksigner=${ANDROID_HOME}/build-tools/$(ls ${ANDROID_HOME}/build-tools/ | tail -1)/apksigner
Expand Down

0 comments on commit 283dd64

Please sign in to comment.