mirror of
https://gitea.com/gitea/act_runner.git
synced 2026-03-24 07:45:02 +01:00
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:
7
pkg/runner/testdata/windows-add-env-powershell-5/action/action.yml
vendored
Normal file
7
pkg/runner/testdata/windows-add-env-powershell-5/action/action.yml
vendored
Normal 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
|
||||
Reference in New Issue
Block a user