mirror of
https://github.com/Ocelot-Social-Community/Ocelot-Social.git
synced 2026-01-18 10:51:28 +00:00
v
This commit is contained in:
parent
7a81ec00a4
commit
66877e3e43
22
.github/workflows/cache-verify.yml
vendored
22
.github/workflows/cache-verify.yml
vendored
@ -73,24 +73,4 @@ jobs:
|
||||
echo "✅ Cache was hit!"
|
||||
else
|
||||
echo "❌ Cache was missed."
|
||||
fi
|
||||
|
||||
verify-summary:
|
||||
runs-on: ubuntu-latest
|
||||
needs: [verify-cache, verify-backend, verify-webapp]
|
||||
if: always()
|
||||
steps:
|
||||
- name: CI Summary
|
||||
run: |
|
||||
echo "### ✅ CI Cache Verification Summary" >> $GITHUB_STEP_SUMMARY
|
||||
echo "- Cache: ${{ needs.verify-cache.result }}" >> $GITHUB_STEP_SUMMARY
|
||||
echo "- Backend: ${{ needs.verify-backend.result }}" >> $GITHUB_STEP_SUMMARY
|
||||
echo "- Webapp: ${{ needs.verify-webapp.result }}" >> $GITHUB_STEP_SUMMARY
|
||||
if [[ '${{ needs.verify-cache.result }}' != 'success' || '${{ needs.verify-backend.result }}' != 'success' || '${{ needs.verify-webapp.result }}' != 'success' ]]; then
|
||||
echo "
|
||||
❌ One or more checks failed." >> $GITHUB_STEP_SUMMARY
|
||||
exit 1
|
||||
else
|
||||
echo "
|
||||
✅ All checks passed successfully!" >> $GITHUB_STEP_SUMMARY
|
||||
fi
|
||||
fi
|
||||
Loading…
x
Reference in New Issue
Block a user