action.yml 505 B

12345678910111213141516171819202122
  1. name: change clang variables to ccache clang
  2. description: change clang cariable to ccache clang
  3. runs:
  4. using: composite
  5. steps:
  6. - name: change variables
  7. shell: bash
  8. run: |
  9. cd "$CONFIG"
  10. if [[ -d kernel_platform ]]; then
  11. cd kernel_platform
  12. touch .bazelrc
  13. cat >> .bazelrc << 'EOF'
  14. build --disk_cache=${{ env.BCACHE_DIR }}
  15. EOF
  16. else
  17. touch .bazelrc
  18. cat >> .bazelrc << 'EOF'
  19. build --disk_cache=${{ env.BCACHE_DIR }}
  20. EOF
  21. fi