Add -Append flag to powershell workflow commands

This commit is contained in:
Thomas Boop 2020-10-08 16:43:28 -04:00 committed by GitHub
parent 4f7fb6513a
commit af82147423
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -192,5 +192,5 @@ export function addPath(inputPath: string): void {}
Powershell does not use UTF8 by default. You will want to make sure you write in the correct encoding. For example, to set the path:
```
steps:
- run: echo "mypath" | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8
```
- run: echo "mypath" | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8 -Append
```