We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f6cc5ea commit 5fa05d1Copy full SHA for 5fa05d1
1 file changed
.github/workflows/build-windows.yml
@@ -43,8 +43,8 @@ jobs:
43
}
44
45
# Enable bundled feature for rusqlite on Windows to avoid needing sqlite3.lib
46
- if ($content -match 'rusqlite\s*=\s*"[^"]+"\s*$' -and $content -notmatch 'rusqlite.*bundled') {
47
- $content = $content -replace 'rusqlite\s*=\s*"([^"]+)"', 'rusqlite = { version = "$1", features = ["bundled"] }'
+ if ($content -match '(?m)^rusqlite\s*=\s*"[^"]+"$' -and $content -notmatch 'rusqlite.*bundled') {
+ $content = $content -replace '(?m)^rusqlite\s*=\s*"([^"]+)"$', 'rusqlite = { version = "$1", features = ["bundled"] }'
48
Write-Host "Enabled bundled feature for rusqlite"
49
} else {
50
Write-Host "rusqlite already has features configured or bundled is enabled"
0 commit comments