mirror of
https://github.com/go-task/task.git
synced 2025-05-29 23:17:53 +02:00
chore: changelog for #1639
This commit is contained in:
parent
76030c9146
commit
6ce6a38899
@ -23,6 +23,8 @@
|
|||||||
the `yaml` and `json` keys are no longer available (#1654 by @pd93).
|
the `yaml` and `json` keys are no longer available (#1654 by @pd93).
|
||||||
- Added a new `TASK_REMOTE_DIR` environment variable to configure where cached
|
- Added a new `TASK_REMOTE_DIR` environment variable to configure where cached
|
||||||
remote Taskfiles are stored (#1661 by @vmaerten).
|
remote Taskfiles are stored (#1661 by @vmaerten).
|
||||||
|
- Added a new `--clear-cache` flag to clear the cache of remote Taskfiles (#1639
|
||||||
|
by @vmaerten).
|
||||||
- Improved the readability of cached remote Taskfile filenames (#1636 by
|
- Improved the readability of cached remote Taskfile filenames (#1636 by
|
||||||
@vmaerten).
|
@vmaerten).
|
||||||
- Starting releasing a binary for the `riscv64` architecture on Linux (#1699 by
|
- Starting releasing a binary for the `riscv64` architecture on Linux (#1699 by
|
||||||
|
@ -105,16 +105,19 @@ internet and cached locally. If for whatever reason, you lose access to the
|
|||||||
internet, you will still be able to run your tasks by specifying the `--offline`
|
internet, you will still be able to run your tasks by specifying the `--offline`
|
||||||
flag. This will tell Task to use the latest cached version of the file instead
|
flag. This will tell Task to use the latest cached version of the file instead
|
||||||
of trying to download it. You are able to use the `--download` flag to update
|
of trying to download it. You are able to use the `--download` flag to update
|
||||||
the cached version of the remote files without running any tasks.
|
the cached version of the remote files without running any tasks. You are able
|
||||||
You are able to use the `--clear-cache` flag to clear all cached version of the remote files without running any tasks.
|
to use the `--clear-cache` flag to clear all cached version of the remote files
|
||||||
|
without running any tasks.
|
||||||
|
|
||||||
By default, Task will timeout requests to download remote files after 10 seconds
|
By default, Task will timeout requests to download remote files after 10 seconds
|
||||||
and look for a cached copy instead. This timeout can be configured by setting
|
and look for a cached copy instead. This timeout can be configured by setting
|
||||||
the `--timeout` flag and specifying a duration. For example, `--timeout 5s` will
|
the `--timeout` flag and specifying a duration. For example, `--timeout 5s` will
|
||||||
set the timeout to 5 seconds.
|
set the timeout to 5 seconds.
|
||||||
|
|
||||||
By default, the cache is stored in the Task temp directory, represented by the `TASK_TEMP_DIR` [environment variable](../reference/environment.mdx)
|
By default, the cache is stored in the Task temp directory, represented by the
|
||||||
You can override the location of the cache by setting the `TASK_REMOTE_DIR` environment variable. This way, you can share the cache between different projects.
|
`TASK_TEMP_DIR` [environment variable](../reference/environment.mdx) You can
|
||||||
|
override the location of the cache by setting the `TASK_REMOTE_DIR` environment
|
||||||
|
variable. This way, you can share the cache between different projects.
|
||||||
|
|
||||||
{/* prettier-ignore-start */}
|
{/* prettier-ignore-start */}
|
||||||
[enabling-experiments]: ./experiments.mdx#enabling-experiments
|
[enabling-experiments]: ./experiments.mdx#enabling-experiments
|
||||||
|
Loading…
x
Reference in New Issue
Block a user