From 65ca2f5001a7b809a42db6366527cb46a6a88f40 Mon Sep 17 00:00:00 2001 From: Tim Gymnich Date: Sat, 9 Mar 2024 12:05:57 +0100 Subject: [PATCH] Update enzyme-bazel.yml --- .github/workflows/enzyme-bazel.yml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/.github/workflows/enzyme-bazel.yml b/.github/workflows/enzyme-bazel.yml index 52260fa8b1d6..ecdd527b130a 100644 --- a/.github/workflows/enzyme-bazel.yml +++ b/.github/workflows/enzyme-bazel.yml @@ -40,6 +40,15 @@ jobs: repository: 'llvm/llvm-project' path: 'llvm-project' + - name: Cache Bazel + uses: actions/cache@v3 + with: + path: | + ~/.cache/bazel + key: ${{ runner.os }}-bazel-${{ hashFiles('.bazelversion', '.bazelrc', 'WORKSPACE', 'WORKSPACE.bazel', 'MODULE.bazel') }} + restore-keys: | + ${{ runner.os }}-bazel- + - name: Build run: | cd enzyme