rust-cache/action.yml

25 lines
743 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-12-22 10:56:41 +08:00
outputs:
cache-hit:
description: 'A boolean value that indicates an exact match was found'
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"