rust-cache/action.yml

22 lines
646 B
YAML
Raw Normal View History

2020-09-25 22:42:39 +08:00
name: "Rust Cache"
2020-10-04 00:39:38 +08:00
description: "A GitHub Action that implements smart caching for rust/cargo projects with sensible defaults."
2020-09-25 22:42:39 +08:00
author: "Arpad Borsos <arpad.borsos@googlemail.com>"
inputs:
key:
2020-10-04 00:39:38 +08:00
description: "An additional key for the cache"
2020-09-25 22:42:39 +08:00
required: false
sharedKey:
description: "An additional cache key that is stable over multiple jobs"
required: false
working-directory:
description: "The working directory this action should operate in"
required: false
2020-09-25 22:42:39 +08:00
runs:
using: "node12"
main: "dist/restore/index.js"
post: "dist/save/index.js"
post-if: "success()"
branding:
icon: "archive"
color: "gray-dark"