mirror of
https://github.com/DeterminateSystems/magic-nix-cache-action.git
synced 2025-01-30 05:15:32 +01:00
Fixup diagnostic URL handling (#100)
This commit is contained in:
parent
13dabe8ccc
commit
fe89a484fe
3 changed files with 3 additions and 5 deletions
3
dist/index.js
generated
vendored
3
dist/index.js
generated
vendored
|
@ -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
2
dist/index.js.map
generated
vendored
File diff suppressed because one or more lines are too long
|
@ -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",
|
||||
|
|
Loading…
Reference in a new issue