1
0
Fork 0

Improve documentation of expansion for Windows

See actions/cache issue https://github.com/actions/cache/issues/705.
pull/1113/head
Mike Pilgrem 2022-06-11 18:02:16 +01:00
parent b5f31bb5a2
commit 099631638e
1 changed files with 8 additions and 3 deletions

View File

@ -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