Skip to content

Commit

Permalink
Stop caching, for now
Browse files Browse the repository at this point in the history
Caching tools is recommended if you plan to "switch back and forth
between versions of a tool, or save a tool between runs for self-hosted
runners." Neither of these situations seem necessary for dokube at the
moment, not to mention caching wasn't really even implemented correctly
in the first place, as the action never hunts for existing versions of
the tool in the cache, it just keeps downloading and adding to cache.

Hopefully this will solve a problem raised in #14.

https://github.com/actions/toolkit/tree/master/packages/tool-cache#cache

.github/workflows/test.yml |   1 +
dist/index.js              | 266 ++++++++++++++++++++++++++++++-------
index.js                   |   7 +-
3 files changed, 221 insertions(+), 53 deletions(-)
  • Loading branch information
matootie committed May 21, 2020
1 parent 1bfdfde commit dcb2e1e
Show file tree
Hide file tree
Showing 3 changed files with 221 additions and 53 deletions.
1 change: 1 addition & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,3 +19,4 @@ jobs:
namespace: default
version: 1.17.4
- run: kubectl get nodes
- run: kubectl top nodes
Loading

0 comments on commit dcb2e1e

Please sign in to comment.