From 1b292fa92463e81881f0cf3d6f8da4d92d3a5ad3 Mon Sep 17 00:00:00 2001 From: Elango Cheran Date: Fri, 13 Jan 2023 21:47:30 -0800 Subject: [PATCH] ICU-22233 Fix CI cache name for Bazel build --- .github/workflows/icu_ci.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/icu_ci.yml b/.github/workflows/icu_ci.yml index e5b002a4fd8..f83c9b7e486 100644 --- a/.github/workflows/icu_ci.yml +++ b/.github/workflows/icu_ci.yml @@ -490,11 +490,15 @@ jobs: steps: - uses: actions/checkout@v2 - uses: bazelbuild/setup-bazelisk@v1 + - name: Get CI Linux runner VM version + id: linux-version + run: | + echo "LINUX_VERSION=$(grep -F VERSION_ID /etc/os-release | cut -d'"' -f2)" >> $GITHUB_OUTPUT - name: Mount bazel cache uses: actions/cache@v2 with: path: "~/.cache/bazel" - key: ${{ runner.os }}-bazel + key: bazel-${{ runner.os }}-${{ steps.linux-version.outputs.LINUX_VERSION }} - name: Generate the data run: |