From 7251ca1b696d168b385f9d8a3978d57c0febfdec Mon Sep 17 00:00:00 2001 From: Jinzhe Zeng Date: Thu, 11 Apr 2024 19:20:55 -0400 Subject: [PATCH] set up cache --- .github/workflows/release.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 52fcad6..9c9dd7d 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -17,12 +17,14 @@ jobs: with: python-version: 3.12 architecture: x64 + cache: 'pip' - run: python -m pip install -r requirements.txt - run: python generator.py - uses: actions/setup-node@v4 with: node-version: 'lts' registry-url: 'https://registry.npmjs.org' + cache: 'npm' if: github.event_name == 'release' - run: npm publish --provenance env: