diff --git a/.github/workflows/cache-verify.yml b/.github/workflows/cache-verify.yml index 4e54be049..6616d259e 100644 --- a/.github/workflows/cache-verify.yml +++ b/.github/workflows/cache-verify.yml @@ -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: