mirror of
https://github.com/DeterminateSystems/nix-installer-action.git
synced 2024-12-23 05:22:21 +01:00
Fix ESM build
This commit is contained in:
parent
10f43c0d32
commit
9ffa76fa74
4 changed files with 4 additions and 8 deletions
BIN
dist/amd64.tar.gz
generated
vendored
BIN
dist/amd64.tar.gz
generated
vendored
Binary file not shown.
BIN
dist/arm64.tar.gz
generated
vendored
BIN
dist/arm64.tar.gz
generated
vendored
Binary file not shown.
7
dist/index.js
generated
vendored
7
dist/index.js
generated
vendored
|
@ -89417,8 +89417,6 @@ function firstString() {
|
|||
}
|
||||
}
|
||||
|
||||
// EXTERNAL MODULE: external "path"
|
||||
var external_path_ = __nccwpck_require__(1017);
|
||||
// EXTERNAL MODULE: external "node:util"
|
||||
var external_node_util_ = __nccwpck_require__(7261);
|
||||
// EXTERNAL MODULE: external "os"
|
||||
|
@ -97270,7 +97268,6 @@ function mungeDiagnosticEndpoint(inputUrl) {
|
|||
|
||||
|
||||
|
||||
|
||||
var EVENT_INSTALL_NIX_FAILURE = "install_nix_failure";
|
||||
var EVENT_INSTALL_NIX_START = "install_nix_start";
|
||||
var EVENT_INSTALL_NIX_SUCCESS = "install_nix_start";
|
||||
|
@ -97701,8 +97698,8 @@ ${stderrBuffer}`
|
|||
"Configuring the Docker shim as the Nix Daemon's process supervisor"
|
||||
);
|
||||
const images = {
|
||||
X64: __nccwpck_require__.ab + "amd64.tar.gz",
|
||||
ARM64: __nccwpck_require__.ab + "arm64.tar.gz"
|
||||
X64: (0,external_node_path_namespaceObject.join)(__dirname, "/../docker-shim/amd64.tar.gz"),
|
||||
ARM64: (0,external_node_path_namespaceObject.join)(__dirname, "/../docker-shim/arm64.tar.gz")
|
||||
};
|
||||
const runnerArch = process.env["RUNNER_ARCH"];
|
||||
let arch;
|
||||
|
|
|
@ -6,7 +6,6 @@ import { join } from "node:path";
|
|||
import fs from "node:fs";
|
||||
import { userInfo } from "node:os";
|
||||
import stringArgv from "string-argv";
|
||||
import * as path from "path";
|
||||
import { IdsToolbox, inputs, platform } from "detsys-ts";
|
||||
import { randomUUID } from "node:crypto";
|
||||
|
||||
|
@ -559,8 +558,8 @@ class NixInstallerAction {
|
|||
);
|
||||
|
||||
const images: { [key: string]: string } = {
|
||||
X64: path.join(__dirname, "/../docker-shim/amd64.tar.gz"),
|
||||
ARM64: path.join(__dirname, "/../docker-shim/arm64.tar.gz"),
|
||||
X64: join(__dirname, "/../docker-shim/amd64.tar.gz"),
|
||||
ARM64: join(__dirname, "/../docker-shim/arm64.tar.gz"),
|
||||
};
|
||||
|
||||
const runnerArch = process.env["RUNNER_ARCH"];
|
||||
|
|
Loading…
Reference in a new issue