mirror of
https://git.mirrors.martin98.com/https://github.com/actions/toolkit
synced 2026-04-21 07:08:04 +08:00
Add -Append flag to powershell workflow commands
This commit is contained in:
@@ -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:
|
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:
|
steps:
|
||||||
- run: echo "mypath" | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8
|
- run: echo "mypath" | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8 -Append
|
||||||
```
|
```
|
||||||
|
|||||||
Reference in New Issue
Block a user