From f70f5b11d6e5ee120f732dcfe64328f6b1037671 Mon Sep 17 00:00:00 2001 From: Kenneth Yang <82800265+kjy5@users.noreply.github.com> Date: Wed, 31 Jan 2024 11:55:22 -0800 Subject: [PATCH] Try to cache the environment as well (#301) --- .github/workflows/build.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index aeda315..98e02e9 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -30,8 +30,10 @@ jobs: - name: 🗃️ Cache Build Artifacts uses: actions/cache@v4 with: - path: build - key: ${{ runner.os }}-build + path: | + build + ~/.cache/pip + key: ${{ runner.os }}-build-${{ hashFiles('pyproject.toml') }} - name: 🔨 Build run: hatch -e exe run build