mirror of https://github.com/actions/toolkit
Improve documentation of expansion for Windows
See actions/cache issue https://github.com/actions/cache/issues/705.pull/1113/head
parent
b5f31bb5a2
commit
099631638e
|
@ -91,9 +91,14 @@ With the following behaviors:
|
|||
|
||||
Supports basic tilde expansion, for current user HOME replacement only.
|
||||
|
||||
Example:
|
||||
- `~` may expand to /Users/johndoe
|
||||
- `~/foo` may expand to /Users/johndoe/foo
|
||||
Example, for user `johndoe` on Unix-like operating systems:
|
||||
- `~` will expand to `/Users/johndoe`
|
||||
- `~/foo` will expand to `/Users/johndoe/foo`
|
||||
|
||||
On Windows, environment variables such as `%HOME%`, `%APPDATA%` or
|
||||
`%LOCALAPPDATA%` will not be expanded. `~` can be used as an alternative to
|
||||
`%HOME%`, `~\AppData\Roaming` as an alternative to `%APPDATA%`, and
|
||||
`~\AppData\Local` as an alternative to `%LOCALAPPDATA%`.
|
||||
|
||||
### Comments
|
||||
|
||||
|
|
Loading…
Reference in New Issue