mirror of
https://github.com/cachix/cachix-action.git
synced 2025-06-09 09:35:10 +09:00
30 lines
1.3 KiB
YAML
30 lines
1.3 KiB
YAML
name: 'Cachix'
|
|
description: 'nix-build with the help of caching to Cachix'
|
|
author: 'Domen Kožar'
|
|
inputs:
|
|
name:
|
|
description: 'Name of a cachix cache to push and pull/substitute'
|
|
required: true
|
|
extraPullNames:
|
|
description: 'Comma-separated list of names for extra cachix caches to pull/substitute'
|
|
authToken:
|
|
description: 'Authentication token for Cachix, needed only for private cache access'
|
|
signingKey:
|
|
description: 'Signing key secret retrieved after creating binary cache on https://cachix.org'
|
|
skipPush:
|
|
description: 'Set to true to disable pushing build results to the cache'
|
|
pathsToPush:
|
|
description: 'Whitespace-separated list of paths to push. Leave empty to push every build result.'
|
|
pushFilter:
|
|
description: 'Ignored if pathsToPush is set. Regular expression to exclude derivations for the cache push, for example "(-source$|nixpkgs\.tar\.gz$)". Warning: this filter does not guarantee it will not get pushed in case the path is part of the closure of something that will get pushed.'
|
|
cachixArgs:
|
|
description: 'Extra command-line arguments to pass to cachix. If empty, defaults to -j8'
|
|
installCommand:
|
|
description: 'Override the default cachix installation method'
|
|
branding:
|
|
color: 'blue'
|
|
icon: 'database'
|
|
runs:
|
|
using: 'node16'
|
|
main: 'dist/main/index.js'
|
|
post: 'dist/main/index.js'
|