Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
zomars committed Feb 25, 2023
1 parent 594d8b5 commit 88aa6d5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/actions/cache-build/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ runs:
key-3: ${{ hashFiles('**.[jt]s', '**.[jt]sx') }}
with:
path: |
${{ github.workspace }}/apps/web/.next/cache
${{ github.workspace }}/apps/web/.next
**/.turbo/**
**/dist/**
key: ${{ runner.os }}-${{ env.cache-name }}-${{ env.key-1 }}-${{ env.key-2 }}-${{ env.key-3 }}-${{ github.sha }}
Expand Down
2 changes: 1 addition & 1 deletion .github/actions/yarn-build/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,13 @@ description: "Creates a production build, caches it and restores if necessary"
runs:
using: "composite"
steps:
- uses: ./.github/actions/env-read-file
- uses: ./.github/actions/cache-db
id: cache-db
with:
DATABASE_URL: ${{ env.DATABASE_URL }}
- uses: ./.github/actions/cache-build
id: prod-build-cache
- uses: ./.github/actions/env-read-file
- name: Next.js production build
if: steps.cache-db.outputs.cache-hit != 'true'
shell: bash
Expand Down

0 comments on commit 88aa6d5

Please sign in to comment.