| 1234567891011121314151617181920212223 |
- name: 'Setup Bazel Cache'
- description: 'Create Bazel cache directory for newer kernels'
- inputs:
- version:
- description: 'Kernel config version (e.g., android14-6.1)'
- required: true
- runs:
- using: 'composite'
- steps:
- - name: Setup Bazel Cache
- shell: bash
- if: |
- inputs.version == 'android14-5.15' ||
- inputs.version == 'android14-6.1' ||
- inputs.version == 'android15-6.6' ||
- inputs.version == 'android16-6.12'
- working-directory: ${{ github.workspace }}
- run: |
- set -euo pipefail
- export BAZEL_CACHE_DIR="/home/runner/.cache/bazel"
- mkdir -p "$BAZEL_CACHE_DIR"
- echo "BAZEL_CACHE_DIR: $BAZEL_CACHE_DIR"
|