feat: add _CS suffix to keep value case-sensitive

This commit is contained in:
rlespinasse
2021-03-01 23:05:36 +01:00
committed by Romain Lespinasse
parent 38c43d3f60
commit 6c93fcbf53
11 changed files with 17339 additions and 114 deletions

View File

@@ -40,6 +40,7 @@ This GitHub Action will expose the slug/short values of [some GitHub environment
- `SLUG_URL` on a variable to have a `slug` variable compliant to be used in an URL (Like `SLUG` but `.` is also replaced by `-`)
- `SHORT` on a variable will limit the string size to 8 characters (useful for _sha_ value)
- `<KEY>_PART` on a variable will give a part of a variable defined by a key
_ `<VAR>_CS` on others variables to keep the value case-sensitive
</p>
</details>
@@ -70,6 +71,8 @@ Check for more [examples][3] (OS usage, URL use, ...)
### Slug variables
**NOTE:** `_CS` suffix available
| Variable | Slug version of | Description |
| ------------------------------------------------------------------------------------------------- | ---------------------------- | --------------------------------------------------------------------------------------------------- |
| [GITHUB_REPOSITORY_SLUG](docs/slug-variables.md#github_repository_slug) | GITHUB_REPOSITORY | The owner and repository name. |
@@ -82,6 +85,8 @@ Check for more [examples][3] (OS usage, URL use, ...)
### Slug URL variables
**NOTE:** `_CS` suffix available
| Variable | Slug URL version of | Description |
| --------------------------------------------------------------------------------------------------------- | ---------------------------- | --------------------------------------------------------------------------------------------------- |
| [GITHUB_REPOSITORY_SLUG_URL](docs/slug-url-variables.md#github_repository_slug_url) | GITHUB_REPOSITORY | The owner and repository name. |