Skip to content

Commit

Permalink
ci: removes cache feature
Browse files Browse the repository at this point in the history
I can't understand its functionality, and also it doesn't look really efficient with bun (oven-sh/setup-bun#14 (comment))
  • Loading branch information
DavDeDev committed May 2, 2024
1 parent 5b00c6c commit 3cafdb4
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/my-workflow.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,14 +16,14 @@ jobs:
name: Build Application
runs-on: self-hosted
steps:
- uses: actions/cache@v4
with:
path: |
~/.bun/install/cache
${{ github.workspace }}/.next/cache
key: ${{ runner.os }}-nextjs-${{ hashFiles('**/bun.lockb') }}-${{ hashFiles('**/*.js', '**/*.jsx', '**/*.ts', '**/*.tsx') }}
restore-keys: |
${{ runner.os }}-nextjs-${{ hashFiles('**/bun.lockb') }}-
# - uses: actions/cache@v4
# with:
# path: |
# ~/.bun/install/cache
# ${{ github.workspace }}/.next/cache
# key: ${{ runner.os }}-nextjs-${{ hashFiles('bun.lockb') }}-${{ hashFiles('**/*.js', '**/*.jsx', '**/*.ts', '**/*.tsx') }}
# restore-keys: |
# ${{ runner.os }}-nextjs-${{ hashFiles('bun.lockb') }}-
- uses: actions/checkout@v4
- run: bun install
- run: bun run build
Expand Down

0 comments on commit 3cafdb4

Please sign in to comment.