Set the default flakehub-flake-name to an empty string

This commit is contained in:
Cole Helbling 2024-05-09 14:34:37 -07:00
parent 15226c9b1e
commit 0cc1effd9c
2 changed files with 3 additions and 3 deletions

View file

@ -96,7 +96,7 @@ cat action.yml| nix run nixpkgs#yq-go -- '[[ "Parameter", "Description", "Requir
| `diagnostic-endpoint` | Diagnostic endpoint url where diagnostics and performance data is sent. To disable set this to an empty string. | | https://install.determinate.systems/magic-nix-cache/perf | | `diagnostic-endpoint` | Diagnostic endpoint url where diagnostics and performance data is sent. To disable set this to an empty string. | | https://install.determinate.systems/magic-nix-cache/perf |
| `flakehub-api-server` | The FlakeHub API server. | | https://api.flakehub.com | | `flakehub-api-server` | The FlakeHub API server. | | https://api.flakehub.com |
| `flakehub-cache-server` | The FlakeHub binary cache server. | | https://cache.flakehub.com | | `flakehub-cache-server` | The FlakeHub binary cache server. | | https://cache.flakehub.com |
| `flakehub-flake-name` | The name of your flake on FlakeHub. Defaults to the current name of the GitHub repository it is running in. | | | | `flakehub-flake-name` | The name of your flake on FlakeHub. The empty string will autodetect your FlakeHub flake. | | `""` |
| `listen` | The host and port to listen on. | | 127.0.0.1:37515 | | `listen` | The host and port to listen on. | | 127.0.0.1:37515 |
| `source-binary` | Run a version of the cache binary from somewhere already on disk. Conflicts with all other `source-*` options. | | | | `source-binary` | Run a version of the cache binary from somewhere already on disk. Conflicts with all other `source-*` options. | | |
| `source-branch` | The branch of `magic-nix-cache` to use. Conflicts with all other `source-*` options. | | main | | `source-branch` | The branch of `magic-nix-cache` to use. Conflicts with all other `source-*` options. | | main |

View file

@ -28,8 +28,8 @@ inputs:
description: "The FlakeHub API server." description: "The FlakeHub API server."
default: "https://api.flakehub.com" default: "https://api.flakehub.com"
flakehub-flake-name: flakehub-flake-name:
description: "The name of your flake on FlakeHub. Defaults to the current name of the GitHub repository it is running in." description: "The name of your flake on FlakeHub. The empty string will autodetect your FlakeHub flake."
default: ${{ github.repository }} default: ""
required: false required: false
startup-notification-port: startup-notification-port:
description: "The port magic-nix-cache uses for daemon startup notification." description: "The port magic-nix-cache uses for daemon startup notification."