From 7faad1ecc74ef1d53de42114dfd49139579990bf Mon Sep 17 00:00:00 2001 From: Derrick Hammer Date: Sun, 25 Jun 2023 01:44:46 -0400 Subject: [PATCH] fix: add restore-keys --- .github/workflows/main.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index b48276a..5143946 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -15,7 +15,7 @@ jobs: cache: 'npm' - run: npm ci - run: npm run build --if-present - - name: Cache node modules + - name: Cache build id: cache uses: actions/cache@v3 with: @@ -30,6 +30,7 @@ jobs: with: path: . key: cache-${{ github.run_id }}-${{ github.run_attempt }} + restore-keys: cache-${{ github.run_id }}-${{ github.run_attempt }} - name: Install SSH key uses: shimataro/ssh-key-action@v2 with: