diff --git a/dist/index.js b/dist/index.js index 11d49c8..c0ecb8d 100644 --- a/dist/index.js +++ b/dist/index.js @@ -97870,6 +97870,9 @@ var NixInstallerAction = class extends DetSysAction { get isRunningInNamespaceRunner() { return process.env["NSC_VM_ID"] !== void 0 && !(process.env["NOT_NAMESPACE"] === "true"); } + // Detect if we're in a GHA runner which is Linux, doesn't have Systemd, and does have Docker. + // This is a common case in self-hosted runners, providers like [Namespace](https://namespace.so/), + // and especially GitHub Enterprise Server. async detectAndForceDockerShim() { if (!this.isLinux) { if (this.forceDockerShim) { diff --git a/src/index.ts b/src/index.ts index 8bce7f5..66854e7 100644 --- a/src/index.ts +++ b/src/index.ts @@ -144,10 +144,10 @@ class NixInstallerAction extends DetSysAction { ); } + // Detect if we're in a GHA runner which is Linux, doesn't have Systemd, and does have Docker. + // This is a common case in self-hosted runners, providers like [Namespace](https://namespace.so/), + // and especially GitHub Enterprise Server. async detectAndForceDockerShim(): Promise { - // Detect if we're in a GHA runner which is Linux, doesn't have Systemd, and does have Docker. - // This is a common case in self-hosted runners, providers like [Namespace](https://namespace.so/), - // and especially GitHub Enterprise Server. if (!this.isLinux) { if (this.forceDockerShim) { actionsCore.warning(