From 528cb98481d76072056c92e823e13166ac4f6cca Mon Sep 17 00:00:00 2001 From: Nate Smith Date: Tue, 11 Jul 2023 11:55:50 -0700 Subject: [PATCH] add gh cache to Actions explainer --- pkg/cmd/actions/actions.go | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/pkg/cmd/actions/actions.go b/pkg/cmd/actions/actions.go index d24df6631..db072123a 100644 --- a/pkg/cmd/actions/actions.go +++ b/pkg/cmd/actions/actions.go @@ -26,6 +26,7 @@ func actionsExplainer(cs *iostreams.ColorScheme) string { header := cs.Bold("Welcome to GitHub Actions on the command line.") runHeader := cs.Bold("Interacting with workflow runs") workflowHeader := cs.Bold("Interacting with workflow files") + cacheHeader := cs.Bold("Interacting with the Actions cache") return heredoc.Docf(` %s @@ -49,5 +50,12 @@ func actionsExplainer(cs *iostreams.ColorScheme) string { gh workflow run: Trigger a workflow_dispatch run for a workflow file To see more help, run 'gh help workflow ' - `, header, runHeader, workflowHeader) + + %s + gh cache list: List all the caches saved in Actions for a repository + gh cache delete: Delete one or all saved caches in Actions for a repository + + To see more help, run 'gh help cache ' + + `, header, runHeader, workflowHeader, cacheHeader) }