From fecb1c87cf288cd124093cb36b1806bfc5f723b3 Mon Sep 17 00:00:00 2001 From: Kenneth Yang Date: Wed, 31 Jan 2024 11:52:43 -0800 Subject: [PATCH] Try to cache the environment as well --- .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