Skip to content

Commit

Permalink
fix github workflow for sqlite db cache key
Browse files Browse the repository at this point in the history
  • Loading branch information
kentcdodds committed Aug 14, 2023
1 parent e979471 commit e8d4497
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,10 @@ jobs:
uses: actions/cache@v3
with:
path: prisma/data.db
key: db-cache
key:
db-cache-schema_${{ hashFiles('./prisma/schema.prisma')
}}-migrations_${{ hashFiles('./prisma/migrations/*/migration.sql')
}}

- name: 🏗 Build
run: npm run build
Expand Down

0 comments on commit e8d4497

Please sign in to comment.