Skip to content

Commit

Permalink
Initial version based purely on volumes.
Browse files Browse the repository at this point in the history
  • Loading branch information
nichtverstehen committed Oct 24, 2023
0 parents commit 6722742
Show file tree
Hide file tree
Showing 10 changed files with 27,483 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
node_modules/
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# Cache Action for GitHub based on Namespace Cache Volumes

Cache artifacts like dependencies and build outputs to a Namespace Cloud cache
volume to improve workflow execution time.

[Full Documentation](https://cloud.namespace.so/docs/actions/nscloud-cache-action)
23 changes: 23 additions & 0 deletions action.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: "Cache"
description: "Cache artifacts like dependencies and build outputs to a Namespace Cloud cache volume to improve workflow execution time."
author: "Namespace Labs"
inputs:
path:
description: "A list of files, directories, and wildcard patterns to cache and restore"
required: true
# key:
# description: "An explicit key for restoring and saving the cache"
# required: false
fail-on-cache-miss:
description: "Fail the workflow if cache entry is not found"
default: "false"
required: false
outputs:
cache-hit:
description: "A boolean value to indicate an exact match was found for the primary key"
runs:
using: "node20"
main: "dist/index.js"
branding:
icon: "archive"
color: "gray-dark"
Loading

0 comments on commit 6722742

Please sign in to comment.