1
0
mirror of synced 2026-01-06 06:02:35 -05:00

Merge pull request #50247 from github/repo-sync

Repo sync
This commit is contained in:
docs-bot
2024-04-19 16:28:38 -07:00
committed by GitHub

View File

@@ -109,7 +109,7 @@ env:
| String | Parsed from any legal JSON number format, otherwise `NaN`. <br /> Note: empty string returns `0`. |
| Array | `NaN` |
| Object | `NaN` |
- A comparison of one `NaN` to another `NaN` does not result in `true`. For more information, see the "[NaN Mozilla docs](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/NaN)."
- When `NaN` is one of the operands of any relational comparison (`>`, `<`, `>=`, `<=`), the result is always `false`. For more information, see the "[NaN Mozilla docs](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/NaN)."
- {% data variables.product.prodname_dotcom %} ignores case when comparing strings.
- Objects and arrays are only considered equal when they are the same instance.
@@ -290,8 +290,6 @@ jobs:
run: echo ...
```
This example workflow sets environment variables: `continue` is set to a boolean value `true`, `time` is set to an integer value `3`.
The workflow uses the `fromJSON()` function to convert the environment variable `continue` from a string to a boolean, allowing it to determine whether to continue-on-error or not. Similarly, it converts the `time` environment variable from a string to an integer, setting the timeout for the job in minutes.
### hashFiles