mirror of
https://github.com/usetrmnl/trmnl-android.git
synced 2026-04-29 13:35:26 -07:00
Merge pull request #128 from usetrmnl/workflow-debug
[ADDED] More debugging for the release key
This commit is contained in:
@@ -68,6 +68,28 @@ jobs:
|
||||
exit 1
|
||||
fi
|
||||
|
||||
- name: Dump Keystore Information
|
||||
if: always() # Run even if previous steps failed
|
||||
run: |
|
||||
echo "Dumping keystore information (with sensitive data redacted)..."
|
||||
|
||||
# List all entries without showing certificates
|
||||
echo "All keystore entries:"
|
||||
keytool -list -keystore keystore-test/release.keystore -storepass "${{ secrets.KEYSTORE_PASSWORD }}" | grep -v "Certificate fingerprint"
|
||||
|
||||
# Try to extract aliases
|
||||
echo "Attempting to extract aliases:"
|
||||
keytool -list -keystore keystore-test/release.keystore -storepass "${{ secrets.KEYSTORE_PASSWORD }}" | grep -E ',[^,]+, PrivateKeyEntry' | sed 's/,.*//' || echo "No aliases could be extracted"
|
||||
|
||||
# Check if the configured alias exists
|
||||
echo "Checking if configured alias exists:"
|
||||
keytool -list -keystore keystore-test/release.keystore -storepass "${{ secrets.KEYSTORE_PASSWORD }}" -alias "${{ secrets.KEY_ALIAS }}" > /dev/null 2>&1
|
||||
if [ $? -eq 0 ]; then
|
||||
echo "✅ Alias '${{ secrets.KEY_ALIAS }}' exists in keystore"
|
||||
else
|
||||
echo "❌ Alias '${{ secrets.KEY_ALIAS }}' NOT found in keystore"
|
||||
fi
|
||||
|
||||
- name: Test Keystore with Password
|
||||
run: |
|
||||
echo "Testing keystore with provided password..."
|
||||
|
||||
Reference in New Issue
Block a user