mirror of
https://github.com/Ocelot-Social-Community/Ocelot-Social.git
synced 2026-01-19 03:11:30 +00:00
v
This commit is contained in:
parent
081426841d
commit
683d0565d7
19
.github/workflows/cache-verify.yml
vendored
19
.github/workflows/cache-verify.yml
vendored
@ -7,6 +7,25 @@ on:
|
||||
workflow_dispatch:
|
||||
|
||||
jobs:
|
||||
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
|
||||
verify-cache:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user