devops: fix electron bots

This commit is contained in:
Max Schmitt 2024-05-31 14:38:57 +02:00
parent f17d0440a7
commit 2c18610808

View file

@ -12,6 +12,13 @@ inputs:
runs: runs:
using: "composite" using: "composite"
steps: steps:
- name: Warn if directory does not exist
shell: bash
run: |
if [[ ! -d "${{ inputs.report_dir }}" ]]; then
echo "Directory '${{ inputs.report_dir }}' does not exist";
exit 0;
fi
- name: Integrity check - name: Integrity check
shell: bash shell: bash
run: find "${{ inputs.report_dir }}" -name "*.zip" -exec unzip -t {} \; run: find "${{ inputs.report_dir }}" -name "*.zip" -exec unzip -t {} \;