We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ce8fce7 commit 5ab2096Copy full SHA for 5ab2096
1 file changed
.github/workflows/ci.yml
@@ -122,7 +122,23 @@ jobs:
122
123
- name: Install sqlite3 (Windows)
124
if: runner.os == 'Windows'
125
- run: choco install sqlite --no-progress -y
+ shell: pwsh
126
+ run: |
127
+ choco install sqlite --no-progress -y
128
+
129
+ # Ensure sqlite3 is immediately available in this job and subsequent steps.
130
+ $chocoBin = Join-Path $env:ProgramData 'chocolatey\bin'
131
+ if (Test-Path $chocoBin) {
132
+ $chocoBin | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8 -Append
133
+ $env:PATH = "$chocoBin;$env:PATH"
134
+ }
135
136
+ $sqlite = Get-Command sqlite3 -ErrorAction SilentlyContinue
137
+ if (-not $sqlite) {
138
+ throw 'sqlite3 was not found on PATH after Chocolatey install.'
139
140
141
+ sqlite3 --version
142
143
- run: pnpm install --frozen-lockfile
144
env:
0 commit comments