attic-action/action.yml

27 lines
512 B
YAML
Raw Normal View History

2023-07-20 01:08:36 +00:00
name: "attic-action"
author: "Ryan Cao"
2023-07-18 14:17:42 +00:00
description: "Cache Nix derivations with attic"
2023-07-20 01:08:36 +00:00
branding:
icon: "layers"
color: "blue"
2023-07-18 14:17:42 +00:00
inputs:
endpoint:
2023-07-20 01:08:36 +00:00
description: "Attic endpoint"
2023-07-18 14:17:42 +00:00
required: true
cache:
2023-07-20 01:08:36 +00:00
description: "Attic cache name"
2023-07-18 14:17:42 +00:00
required: true
skip-push:
2023-07-20 01:08:36 +00:00
description: "Disable pushing to the cache automatically"
required: false
2023-07-18 14:17:42 +00:00
token:
2023-07-20 01:08:36 +00:00
description: "Attic authorization token"
2023-07-18 14:17:42 +00:00
required: false
runs:
using: "node16"
main: "dist/index.js"
2023-07-19 02:51:10 +00:00
post: "dist/index.js"