Skip to content

Commit

Permalink
Try this
Browse files Browse the repository at this point in the history
  • Loading branch information
blakeNaccarato committed Jan 17, 2025
1 parent 2591ead commit 8c1f727
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions dev.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -143,8 +143,8 @@ function Invoke-Uv {
Enter-Venv

# ? Sync `.env` and set environment variables from `pyproject.toml`
$EnvVars = (dev sync-environment-variables) | Out-String
Write-Output $EnvVars
$EnvVars = dev 'sync-environment-variables'
Write-Output $EnvVars -replace "`n", " "
$EnvVars | Set-Content ($Env:GITHUB_ENV ? $Env:GITHUB_ENV : "$PWD/.env")
$EnvVars | Select-String -Pattern '^(.+?)=(.+)$' | ForEach-Object {
$Key, $Value = $_.Matches.Groups[1].Value, $_.Matches.Groups[2].Value
Expand Down

0 comments on commit 8c1f727

Please sign in to comment.