4 Commits

Author SHA1 Message Date
github-actions[bot]
c5e325d599 Automatic compilation 2023-07-20 01:10:34 +00:00
Ryan Cao
2533b28a8f add README 2023-07-20 09:09:48 +08:00
Ryan Cao
00f4a8b31e improve action.yml 2023-07-20 09:08:36 +08:00
Ryan Cao
ce803b732a fix: use node import behavior 2023-07-19 12:24:57 +08:00

View File

@@ -1,22 +1,26 @@
name: "attic" name: "attic-action"
author: "Ryan Cao"
description: "Cache Nix derivations with attic" description: "Cache Nix derivations with attic"
branding:
icon: "layers"
color: "blue"
inputs: inputs:
endpoint: endpoint:
description: "attic endpoint" description: "Attic endpoint"
required: true required: true
cache: cache:
description: "attic cache" description: "Attic cache name"
required: true required: true
skip-push: skip-push:
description: "set to true to disable pushing to the cache" description: "Disable pushing to the cache automatically"
required: false required: false
token: token:
description: "attic token" description: "Attic authorization token"
required: false required: false
runs: runs:
using: "node16" using: "node16"
main: "dist/index.js" main: "dist/index.js"
post: "dist/index.js" post: "dist/index.js"
post-if: "success()"