mirror of
https://github.com/earthly/actions-setup.git
synced 2024-12-28 07:28:19 +08:00
make cache usage optional (#13)
This commit is contained in:
parent
6cb8b71086
commit
4ebeff879c
@ -8,7 +8,11 @@ inputs:
|
||||
version:
|
||||
description: "version of earthly to use."
|
||||
default: "latest"
|
||||
use-cache:
|
||||
description: "whether to use the cache to store earthly or not"
|
||||
default: "true"
|
||||
runs:
|
||||
using: node16
|
||||
main: dist/setup/index.js
|
||||
post: "dist/cache-save/index.js"
|
||||
post-if: inputs.use-cache == 'true'
|
||||
|
Loading…
x
Reference in New Issue
Block a user