Merge pull request #126 from usetrmnl/update-test-keystore-workflow

[UPDATE] Exclude keystore files from artifact from the workflow
This commit is contained in:
Hossain Khan
2025-06-27 23:39:03 -04:00
committed by GitHub
+13 -1
View File
@@ -144,10 +144,22 @@ jobs:
echo "Testing the newly created keystore:"
keytool -list -keystore keystore-test/debug.keystore -storepass android
- name: Prepare Artifacts (Excluding Keystore)
if: always() # Run even if previous steps failed
run: |
# Create a directory for artifacts without the keystore
mkdir -p keystore-test-artifacts
# Copy all txt files and other diagnostic outputs, but not the keystores
cp keystore-test/*.txt keystore-test-artifacts/ 2>/dev/null || true
echo "Excluded keystores from artifacts for security"
ls -la keystore-test-artifacts/
- name: Upload Diagnostic Files
if: always() # Run even if previous steps failed
uses: actions/upload-artifact@v4
with:
name: keystore-diagnostic-files
path: keystore-test/
path: keystore-test-artifacts/
retention-days: 1 # Only keep for a day since it contains diagnostic info