mirror of
https://github.com/usetrmnl/trmnl-android.git
synced 2026-04-29 13:35:26 -07:00
Merge pull request #126 from usetrmnl/update-test-keystore-workflow
[UPDATE] Exclude keystore files from artifact from the workflow
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user