Fixup diagnostic URL handling (#100)

This commit is contained in:
Graham Christensen 2025-01-16 13:29:58 -05:00 committed by GitHub
parent 13dabe8ccc
commit fe89a484fe
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 3 additions and 5 deletions

3
dist/index.js generated vendored
View file

@ -84939,7 +84939,6 @@ var MagicNixCacheAction = class extends DetSysAction {
const netrc = await netrcPath();
const nixConfPath = `${process.env["HOME"]}/.config/nix/nix.conf`;
const upstreamCache = inputs_exports.getString("upstream-cache");
const diagnosticEndpoint = inputs_exports.getString("diagnostic-endpoint");
const useFlakeHub = getTrinaryInput("use-flakehub");
const flakeHubCacheServer = inputs_exports.getString("flakehub-cache-server");
const flakeHubApiServer = inputs_exports.getString("flakehub-api-server");
@ -84953,7 +84952,7 @@ var MagicNixCacheAction = class extends DetSysAction {
"--upstream",
upstreamCache,
"--diagnostic-endpoint",
diagnosticEndpoint,
(await this.getDiagnosticsUrl())?.toString() ?? "",
"--nix-conf",
nixConfPath,
"--use-gha-cache",

2
dist/index.js.map generated vendored

File diff suppressed because one or more lines are too long

View file

@ -206,7 +206,6 @@ class MagicNixCacheAction extends DetSysAction {
const netrc = await netrcPath();
const nixConfPath = `${process.env["HOME"]}/.config/nix/nix.conf`;
const upstreamCache = inputs.getString("upstream-cache");
const diagnosticEndpoint = inputs.getString("diagnostic-endpoint");
const useFlakeHub = getTrinaryInput("use-flakehub");
const flakeHubCacheServer = inputs.getString("flakehub-cache-server");
const flakeHubApiServer = inputs.getString("flakehub-api-server");
@ -221,7 +220,7 @@ class MagicNixCacheAction extends DetSysAction {
"--upstream",
upstreamCache,
"--diagnostic-endpoint",
diagnosticEndpoint,
(await this.getDiagnosticsUrl())?.toString() ?? "",
"--nix-conf",
nixConfPath,
"--use-gha-cache",