mirror of
https://github.com/julia-actions/cache.git
synced 2026-02-12 01:16:54 +08:00
README: document that Bash is required (#132)
* README: document that Bash is required * Apply suggestions from code review Co-authored-by: Curtis Vogt <curtis.vogt@gmail.com> * Update README.md Co-authored-by: Dilum Aluthge <dilum@aluthge.com> * Replace ordered list with unordered list Co-authored-by: Curtis Vogt <curtis.vogt@gmail.com> --------- Co-authored-by: Curtis Vogt <curtis.vogt@gmail.com>
This commit is contained in:
@@ -31,10 +31,8 @@ By default all depot directories called out below are cached.
|
|||||||
|
|
||||||
### Requirements
|
### Requirements
|
||||||
|
|
||||||
This action uses [`jq`](https://github.com/jqlang/jq) to parse JSON.
|
- `jq`: This action uses [`jq`](https://github.com/jqlang/jq) to parse JSON. For GitHub-hosted runners, `jq` is installed by default. On self-hosted runners and custom containers, if `jq` is not already available, this action will automatically use [`dcarbone/install-jq-action`](https://github.com/dcarbone/install-jq-action) to install `jq` (Note: `dcarbone/install-jq-action` requires that `curl` is installed; this may not always be the case in custom containers and self-hosted runners).
|
||||||
`jq` is installed by default in GitHub-hosted runners.
|
- `bash`: This action requires `bash`. For GitHub-hosted runners `bash` is installed by default. Self-hosted runners will need to ensure that `bash` is installed and available on the `PATH`.
|
||||||
[`dcarbone/install-jq-action`](https://github.com/dcarbone/install-jq-action) is used to check that `jq` is available and install it if not.
|
|
||||||
**Note:** installing `jq` with `dcarbone/install-jq-action` requires that curl is available; this may not be the case in custom containers.
|
|
||||||
|
|
||||||
### Optional Inputs
|
### Optional Inputs
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user