From 5898e5c9652d718a45037520596bf55d7ab7a83d Mon Sep 17 00:00:00 2001 From: Ian Butterworth Date: Tue, 23 Jan 2024 12:11:22 -0500 Subject: [PATCH] Apply suggestions from code review Co-authored-by: Curtis Vogt --- README.md | 2 +- action.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index f56e421..456bc15 100644 --- a/README.md +++ b/README.md @@ -47,7 +47,7 @@ This action uses [`jq`](https://github.com/jqlang/jq) to parse JSON. - `cache-compiled` - Whether to cache the depot's `compiled` directory. Defaults to `true`. - `cache-scratchspaces` - Whether to cache the depot's `scratchspaces` directory. Defaults to `true`. - `cache-logs` - Whether to cache the depot's `logs` directory. Defaults to `true`. Helps auto-`Pkg.gc()` keep the cache small. -- `save-always` - Whether to save the cache even when the job fails. Defaults to `true`. This is useful as the julia depot should mostly be reusable from a failing job. +- `save-always` - Whether to save the cache even when the job fails. Defaults to `true`. This is useful as the Julia depot should mostly be reusable from a failing job. - `delete-old-caches` - Whether to delete old caches for the given key. Defaults to `true`. - `token` - A [GitHub PAT](https://docs.github.com/en/authentication/keeping-your-account-and-data-secure/managing-your-personal-access-tokens). Defaults to `github.token`. Requires `repo` scope to enable the deletion of old caches. diff --git a/action.yml b/action.yml index edaae47..da828b2 100644 --- a/action.yml +++ b/action.yml @@ -37,7 +37,7 @@ inputs: description: Whether to cache the depot's `logs` directory. This helps automatic `Pkg.gc()` keep the cache size down. default: 'true' save-always: - description: Whether to save the cache even when the job fails. This is useful as the julia depot should mostly be reusable from a failing job. + description: Whether to save the cache even when the job fails. This is useful as the Julia depot should mostly be reusable from a failing job. default: 'true' delete-old-caches: description: Whether to delete old caches for the given key.