Skip to content

Commit 422a207

Browse files
committed
fix(ci): properly cache both sqlx standalone and Cargo binaries
1 parent 3fadff7 commit 422a207

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

.github/workflows/ci.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,8 +57,10 @@ jobs:
5757
id: cache-sqlx
5858
uses: actions/cache@v5
5959
with:
60-
path: ~/.cargo/bin/sqlx
61-
key: sqlx-cli-0.8.6-v2-${{ runner.os }}
60+
path: |
61+
~/.cargo/bin/sqlx
62+
~/.cargo/bin/cargo-sqlx
63+
key: sqlx-cli-0.8.6-${{ runner.os }}
6264

6365
- name: Install sqlx-cli
6466
if: steps.cache-sqlx.outputs.cache-hit != 'true'

0 commit comments

Comments
 (0)