From b9ab6d284202d4d9a661ace30d40e2c58d05603f Mon Sep 17 00:00:00 2001 From: David Pietrocola Date: Thu, 2 May 2024 00:47:09 -0400 Subject: [PATCH] ci: removes cache feature I can't understand its functionality, and also it doesn't look really efficient with bun (https://github.com/oven-sh/setup-bun/issues/14#issuecomment-1714116221) --- .github/workflows/my-workflow.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/my-workflow.yaml b/.github/workflows/my-workflow.yaml index 6652f76..c504945 100644 --- a/.github/workflows/my-workflow.yaml +++ b/.github/workflows/my-workflow.yaml @@ -21,9 +21,9 @@ jobs: path: | ~/.bun/install/cache ${{ github.workspace }}/.next/cache - key: ${{ runner.os }}-nextjs-${{ hashFiles('**/bun.lockb') }}-${{ hashFiles('**/*.js', '**/*.jsx', '**/*.ts', '**/*.tsx') }} + key: ${{ runner.os }}-nextjs-${{ hashFiles('bun.lockb') }}-${{ hashFiles('**/*.js', '**/*.jsx', '**/*.ts', '**/*.tsx') }} restore-keys: | - ${{ runner.os }}-nextjs-${{ hashFiles('**/bun.lockb') }}- + ${{ runner.os }}-nextjs-${{ hashFiles('bun.lockb') }}- - uses: actions/checkout@v4 - run: bun install - run: bun run build