Fix runner.temp scope in Bazel GitHub Actions workflow

GitHub Actions does not allow referencing the runner context inside job-level env blocks, which caused .github/workflows/bazel.yml to fail workflow validation with zero jobs after 547df18a.

Reference runner.temp directly in the actions/cache step and RUNNER_TEMP in the bazelisk test command.

Change-Id: I16de26f7e76b7570baeef9adfb5f035d39377134
diff --git a/.github/workflows/bazel.yml b/.github/workflows/bazel.yml
index 187bc5f..17446bb 100644
--- a/.github/workflows/bazel.yml
+++ b/.github/workflows/bazel.yml
@@ -9,8 +9,6 @@
     defaults:
       run:
         shell: bash -e -o pipefail {0}
-    env:
-      BAZEL_CACHE_DIR: ${{runner.temp}}/bazel-cache
 
     steps:
       - uses: actions/checkout@v4
@@ -19,7 +17,7 @@
         uses: actions/cache@v4
         with:
           path: |
-            ${{env.BAZEL_CACHE_DIR}}
+            ${{runner.temp}}/bazel-cache
             ~/.cache/bazelisk
           key: bazel-${{runner.os}}-${{hashFiles('MODULE.bazel', 'WORKSPACE', 'BUILD', 'examples/BUILD', 'bazel/**')}}
           restore-keys: |
@@ -31,6 +29,6 @@
             --compilation_mode=opt \
             --cxxopt=-std=c++17 \
             --host_cxxopt=-std=c++17 \
-            --disk_cache="${BAZEL_CACHE_DIR}/disk" \
-            --repository_cache="${BAZEL_CACHE_DIR}/repo" \
+            --disk_cache="${RUNNER_TEMP}/bazel-cache/disk" \
+            --repository_cache="${RUNNER_TEMP}/bazel-cache/repo" \
             --test_output=errors