Skip to content

Commit b8a505d

Browse files
committed
full path; syntax correction
1 parent 169fc2b commit b8a505d

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.github/workflows/test-database.yaml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,11 +26,12 @@ jobs:
2626
- name: Install Dependencies
2727
run: pnpm install --frozen-lockfile
2828
- name: Get supabase version
29-
run: echo "SUPABASE_VERSION=$(supabase --version)" >> $GITHUB_ENV
29+
working-directory: ./packages/database
30+
run: echo "SUPABASE_VERSION=$(./node_modules/.bin/supabase --version)" >> $GITHUB_ENV
3031
- name: Cache Docker images.
3132
uses: ScribeMD/docker-cache@0.5.0
3233
with:
33-
key: docker-${{ runner.os }}-$SUPABASE_VERSION
34+
key: docker-${{ runner.os }}-${{ env.SUPABASE_VERSION }}
3435
- name: Setup database
3536
working-directory: ./packages/database
3637
run: pnpm run setup

0 commit comments

Comments
 (0)