Skip to content

Commit 0522fd0

Browse files
fix: Set Python environment variables for encoding in deployment workflow
1 parent 77a703d commit 0522fd0

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/job-deploy-windows.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -357,9 +357,9 @@ jobs:
357357
BACKEND_URL: ${{ steps.get_output_windows.outputs.BACKEND_URL }}
358358
AZURE_STORAGE_ACCOUNT_NAME: ${{ steps.get_output_windows.outputs.AZURE_STORAGE_ACCOUNT_NAME }}
359359
AZURE_AI_SEARCH_NAME: ${{ steps.get_output_windows.outputs.AZURE_AI_SEARCH_NAME }}
360-
# Needed by post_deploy.ps1 to resolve the principal id when the workflow
361-
# is signed in as a service principal (no interactive user).
362360
AZURE_CLIENT_ID: ${{ secrets.AZURE_CLIENT_ID }}
361+
PYTHONUTF8: '1'
362+
PYTHONIOENCODING: 'utf-8'
363363
run: |
364364
$ErrorActionPreference = "Stop"
365365
# Confirm an Azure CLI session is active. The preceding "Refresh Azure

0 commit comments

Comments
 (0)