mirror of
https://github.com/DeterminateSystems/magic-nix-cache-action.git
synced 2024-11-25 21:24:59 +03:00
Change fact name for env vars
This commit is contained in:
parent
56552edb56
commit
a89604e21e
4
dist/index.js
generated
vendored
4
dist/index.js
generated
vendored
@ -95165,7 +95165,7 @@ async function flakeHubLogin(netrc) {
|
||||
|
||||
|
||||
var ENV_DAEMON_DIR = "MAGIC_NIX_CACHE_DAEMONDIR";
|
||||
var FACT_AUTHENTICATED_ENV = "authenticated_env";
|
||||
var FACT_ENV_VARS_PRESENT = "required_env_vars_present";
|
||||
var FACT_DIFF_STORE_ENABLED = "diff_store";
|
||||
var FACT_NOOP_MODE = "noop_mode";
|
||||
var STATE_DAEMONDIR = "MAGIC_NIX_CACHE_DAEMONDIR";
|
||||
@ -95259,7 +95259,7 @@ var MagicNixCacheAction = class extends DetSysAction {
|
||||
);
|
||||
}
|
||||
}
|
||||
this.addFact(FACT_AUTHENTICATED_ENV, !anyMissing);
|
||||
this.addFact(FACT_ENV_VARS_PRESENT, !anyMissing);
|
||||
if (anyMissing) {
|
||||
return;
|
||||
}
|
||||
|
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
@ -14,7 +14,7 @@ import { inspect } from "node:util";
|
||||
// twice.
|
||||
const ENV_DAEMON_DIR = "MAGIC_NIX_CACHE_DAEMONDIR";
|
||||
|
||||
const FACT_AUTHENTICATED_ENV = "authenticated_env";
|
||||
const FACT_ENV_VARS_PRESENT = "required_env_vars_present";
|
||||
const FACT_DIFF_STORE_ENABLED = "diff_store";
|
||||
const FACT_NOOP_MODE = "noop_mode";
|
||||
|
||||
@ -137,7 +137,7 @@ class MagicNixCacheAction extends DetSysAction {
|
||||
}
|
||||
}
|
||||
|
||||
this.addFact(FACT_AUTHENTICATED_ENV, !anyMissing);
|
||||
this.addFact(FACT_ENV_VARS_PRESENT, !anyMissing);
|
||||
if (anyMissing) {
|
||||
return;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user