Parse env file discard utf8 bom (#38)

* powershell 5 may add the BOM even when explicitly using utf8

* add test + apply to GITHUB_PATH as well
This commit is contained in:
ChristopherHX
2025-02-12 21:26:55 +01:00
committed by GitHub
parent d930a546ec
commit 27511e3003
7 changed files with 110 additions and 1 deletions

View File

@@ -0,0 +1,7 @@
runs:
using: composite
steps:
- run: |
echo $env:GITHUB_ENV
echo "kEy=n/a" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append
shell: powershell