determinatesystems/FlakeHub Cache
Use FlakeHub Cache, zero-configuration binary cache for Nix on GitHub Actions. See: https://flakehub.com/cache
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| use-gha-cache | Whether to upload build results to the Github Actions cache. Set to "no-preference" or null to have the GitHub Actions cache turn on if it is available, and FlakeHub Cache is not available (default). Set to "enabled" or true to explicitly request the GitHub Actions Cache. Set to "disabled" or false to explicitly disable the GitHub Actions Cache. | no | — |
| flakehub-flake-name | The name of your flake on FlakeHub. The empty string will autodetect your FlakeHub flake. | no | "" |
| diff-store | Whether or not to diff the store before and after Magic Nix Cache runs | no | false |
| startup-notification-port | The port magic-nix-cache uses for daemon startup notification. | — | 41239 |
| listen | The host and port to listen on. | — | 127.0.0.1:37515 |
| upstream-cache | Your preferred upstream cache. Store paths in this store will not be cached in GitHub Actions' cache. | — | https://cache.nixos.org |
| diagnostic-endpoint | Diagnostic endpoint url where diagnostics and performance data is sent. To disable set this to an empty string. | — | - |
| source-binary | Run a version of the cache binary from somewhere already on disk. Conflicts with all other `source-*` options. | no | — |
| source-branch | The branch of `magic-nix-cache` to use. Conflicts with all other `source-*` options. | no | — |
| source-pr | The PR of `magic-nix-cache` to use. Conflicts with all other `source-*` options. | no | — |
| source-revision | The revision of `nix-magic-nix-cache` to use. Conflicts with all other `source-*` options. | no | 03659f4394aec2317771e29041ef266669e2ee12 |
| source-tag | The tag of `magic-nix-cache` to use. Conflicts with all other `source-*` options. | no | — |
| source-url | A URL pointing to a `magic-nix-cache` binary. Overrides all other `source-*` options. | no | — |
| source-checksums-url | URL of a `shasum`-format checksums file listing the SHA-256 of each artifact. Used together with `source-checksums-sha256` to verify the downloaded installer. | no | — |
| source-checksums-sha256 | Pinned SHA-256 (hex) of the file served at `source-checksums-url`. Must be set together with `source-checksums-url`. | no | — |
| flakehub-cache-server | The FlakeHub binary cache server. | — | https://cache.flakehub.com |
| flakehub-api-server | The FlakeHub API server. | — | https://api.flakehub.com |
| _internal-strict-mode | Whether to fail when any errors are thrown. Used only to test the Action; do not set this in your own workflows. | no | false |
Outputs
no outputs