-
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.
- Loading branch information
Showing
6 changed files
with
57 additions
and
57 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
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
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
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
22 changes: 11 additions & 11 deletions
22
src/commands/with-cachix.yml → src/commands/with_cachix.yml
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 |
---|---|---|
@@ -1,29 +1,29 @@ | ||
description: > | ||
This command wraps the specified parameters with Cachix's `watch-exec` command | ||
This command wraps the specified parameters with Cachix's `watch_exec` command | ||
to watch changed paths and upload them to your Cachix cache. | ||
In order to write to the cache, you must have a context containing a `CACHIX_AUTH_TOKEN` | ||
environment variable. | ||
parameters: | ||
cachix-user: | ||
cachix_user: | ||
description: "The user/cache to use and authenticate against" | ||
type: string | ||
default: "" | ||
cache-name: | ||
description: "The cache to use before running the `watch-exec` subcommand" | ||
cache_name: | ||
description: "The cache to use before running the `watch_exec` subcommand" | ||
type: string | ||
default: "" | ||
nix-command: | ||
description: "The nix command to wrap with the `watch-exec` command" | ||
nix_command: | ||
description: "The nix command to wrap with the `watch_exec` command" | ||
type: string | ||
default: "" | ||
|
||
steps: | ||
- run: | ||
name: Cachix `watch-exec -- << parameters.nix-command >>` | ||
name: Cachix `watch_exec -- << parameters.nix_command >>` | ||
environment: | ||
CACHIX_USER: << parameters.cachix-user >> | ||
NIX_COMMAND: << parameters.nix-command >> | ||
CACHE_NAME: << parameters.cache-name >> | ||
command: << include(scripts/with-cachix.sh) >> | ||
CACHIX_USER: << parameters.cachix_user >> | ||
NIX_COMMAND: << parameters.nix_command >> | ||
CACHE_NAME: << parameters.cache_name >> | ||
command: << include(scripts/with_cachix.sh) >> |
File renamed without changes.