mirror of
https://github.com/DeterminateSystems/nix-installer-action.git
synced 2024-09-11 13:25:26 +03:00
Fix check for ACT environment
This commit is contained in:
parent
9c4e8b237e
commit
ad8814ae5d
2
dist/index.js
generated
vendored
2
dist/index.js
generated
vendored
@ -97865,7 +97865,7 @@ var NixInstallerAction = class extends DetSysAction {
|
||||
return this.runnerOs === "Linux";
|
||||
}
|
||||
get runningInAct() {
|
||||
return process.env["ACT"] !== "" && !(process.env["NOT_ACT"] === "");
|
||||
return process.env["ACT"] !== void 0 && !(process.env["NOT_ACT"] === "");
|
||||
}
|
||||
get runningInNamespaceRunner() {
|
||||
return process.env["NSC_VM_ID"] !== void 0 && !(process.env["NOT_NAMESPACE"] === "true");
|
||||
|
@ -134,7 +134,7 @@ class NixInstallerAction extends DetSysAction {
|
||||
}
|
||||
|
||||
private get runningInAct(): boolean {
|
||||
return process.env["ACT"] !== "" && !(process.env["NOT_ACT"] === "");
|
||||
return process.env["ACT"] !== undefined && !(process.env["NOT_ACT"] === "");
|
||||
}
|
||||
|
||||
private get runningInNamespaceRunner(): boolean {
|
||||
|
Loading…
Reference in New Issue
Block a user