forked from namespacelabs/nscloud-cache-action
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Initial version based purely on volumes.
- Loading branch information
0 parents
commit 6722742
Showing
10 changed files
with
27,483 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
node_modules/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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" |
Oops, something went wrong.