attic-action/action.yml

30 lines
618 B
YAML
Raw Permalink 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
skip-use:
description: "Set to true to skip using attic cache as a substituter"
required: false
2023-07-18 14:17:42 +00:00
runs:
2023-09-15 07:36:50 +00:00
using: "node20"
2023-07-18 14:17:42 +00:00
main: "dist/index.js"
2023-07-19 02:51:10 +00:00
post: "dist/index.js"