manifest-resource-summary.yml 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637
  1. name: Manifest Resource Summary
  2. on:
  3. workflow_dispatch:
  4. jobs:
  5. manifest-summary:
  6. runs-on: ubuntu-latest
  7. steps:
  8. - name: Checkout (for summary upload)
  9. uses: actions/checkout@v4
  10. - name: Install requirements
  11. run: sudo apt-get update && sudo apt-get install -y python3 python3-pip
  12. - name: Download and summarize manifests
  13. run: |
  14. python3 .github/scripts/manifest_resource_summary.py
  15. env:
  16. MANIFEST_URLS: |
  17. https://android.googlesource.com/kernel/manifest/+/refs/heads/common-android14-6.1-2023-06/default.xml?format=TEXT
  18. https://android.googlesource.com/kernel/manifest/+/refs/heads/common-android14-6.1-2023-07/default.xml?format=TEXT
  19. https://android.googlesource.com/kernel/manifest/+/refs/heads/common-android14-6.1-2025-09/default.xml?format=TEXT
  20. - name: Upload summary
  21. if: always()
  22. run: |
  23. cat manifest_resource_summary.md
  24. shell: bash
  25. continue-on-error: true
  26. id: summary
  27. - name: Add summary to GitHub Actions
  28. if: always()
  29. run: |
  30. echo "## Manifest Resource Summary" >> $GITHUB_STEP_SUMMARY
  31. cat manifest_resource_summary.md >> $GITHUB_STEP_SUMMARY