mirror of
https://github.com/DeterminateSystems/magic-nix-cache-action.git
synced 2024-12-23 13:32:03 +01:00
Switch back to main branch of detsys-ts
This commit is contained in:
parent
f7ad2ac79e
commit
9eec5fd5a2
3 changed files with 11 additions and 13 deletions
14
dist/index.js
generated
vendored
14
dist/index.js
generated
vendored
|
@ -94066,7 +94066,7 @@ const external_node_child_process_namespaceObject = __WEBPACK_EXTERNAL_createReq
|
||||||
const external_node_stream_promises_namespaceObject = __WEBPACK_EXTERNAL_createRequire(import.meta.url)("node:stream/promises");
|
const external_node_stream_promises_namespaceObject = __WEBPACK_EXTERNAL_createRequire(import.meta.url)("node:stream/promises");
|
||||||
;// CONCATENATED MODULE: external "node:zlib"
|
;// CONCATENATED MODULE: external "node:zlib"
|
||||||
const external_node_zlib_namespaceObject = __WEBPACK_EXTERNAL_createRequire(import.meta.url)("node:zlib");
|
const external_node_zlib_namespaceObject = __WEBPACK_EXTERNAL_createRequire(import.meta.url)("node:zlib");
|
||||||
;// CONCATENATED MODULE: ./node_modules/.pnpm/github.com+DeterminateSystems+detsys-ts@f1554c0d3a5f1114cff78879e50bc118451a03c0_t7eoi6mjzqgr2plrflke2xdf7i/node_modules/detsys-ts/dist/index.js
|
;// CONCATENATED MODULE: ./node_modules/.pnpm/github.com+DeterminateSystems+detsys-ts@a089656286a58dc6767247181b5280826f20473a_q6benjgi5pgerrbnqocqupyoxq/node_modules/detsys-ts/dist/index.js
|
||||||
var __defProp = Object.defineProperty;
|
var __defProp = Object.defineProperty;
|
||||||
var __export = (target, all) => {
|
var __export = (target, all) => {
|
||||||
for (var name in all)
|
for (var name in all)
|
||||||
|
@ -94676,9 +94676,8 @@ var DetSysAction = class {
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
/**
|
/**
|
||||||
* Fetches a file in `.xz` format from the URL determined by the `source-*`
|
* Unpacks the closure returned by `fetchArtifact()`, imports the
|
||||||
* parameters (or `source-binary` if set). It then imports that file's
|
* contents into the Nix store, and returns the path of the executable at
|
||||||
* contents into the Nix store and returns the path of the executable at
|
|
||||||
* `/nix/store/STORE_PATH/bin/${bin}`.
|
* `/nix/store/STORE_PATH/bin/${bin}`.
|
||||||
*/
|
*/
|
||||||
async unpackClosure(bin) {
|
async unpackClosure(bin) {
|
||||||
|
@ -94755,13 +94754,12 @@ var DetSysAction = class {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
/**
|
/**
|
||||||
* Fetch an artifact, such as a tarball, from the URL determined by the `source-*`
|
* Fetch an artifact, such as a tarball, from the URL determined by the
|
||||||
* inputs or use a provided binary specified by the `source-binary`
|
* `source-*` inputs.
|
||||||
* input.
|
|
||||||
*/
|
*/
|
||||||
async fetchArtifact() {
|
async fetchArtifact() {
|
||||||
const sourceBinary = getStringOrNull("source-binary");
|
const sourceBinary = getStringOrNull("source-binary");
|
||||||
if (sourceBinary !== null) {
|
if (sourceBinary !== null && sourceBinary !== "") {
|
||||||
core.debug(`Using the provided source binary at ${sourceBinary}`);
|
core.debug(`Using the provided source binary at ${sourceBinary}`);
|
||||||
return sourceBinary;
|
return sourceBinary;
|
||||||
}
|
}
|
||||||
|
|
|
@ -27,7 +27,7 @@
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@actions/core": "^1.10.1",
|
"@actions/core": "^1.10.1",
|
||||||
"@actions/exec": "^1.1.1",
|
"@actions/exec": "^1.1.1",
|
||||||
"detsys-ts": "github:DeterminateSystems/detsys-ts#source-binary",
|
"detsys-ts": "github:DeterminateSystems/detsys-ts",
|
||||||
"got": "^14.3.0",
|
"got": "^14.3.0",
|
||||||
"tail": "^2.2.6"
|
"tail": "^2.2.6"
|
||||||
},
|
},
|
||||||
|
|
|
@ -12,8 +12,8 @@ dependencies:
|
||||||
specifier: ^1.1.1
|
specifier: ^1.1.1
|
||||||
version: 1.1.1
|
version: 1.1.1
|
||||||
detsys-ts:
|
detsys-ts:
|
||||||
specifier: github:DeterminateSystems/detsys-ts#source-binary
|
specifier: github:DeterminateSystems/detsys-ts
|
||||||
version: github.com/DeterminateSystems/detsys-ts/f1554c0d3a5f1114cff78879e50bc118451a03c0
|
version: github.com/DeterminateSystems/detsys-ts/a089656286a58dc6767247181b5280826f20473a
|
||||||
got:
|
got:
|
||||||
specifier: ^14.3.0
|
specifier: ^14.3.0
|
||||||
version: 14.3.0
|
version: 14.3.0
|
||||||
|
@ -3823,8 +3823,8 @@ packages:
|
||||||
engines: {node: '>=10'}
|
engines: {node: '>=10'}
|
||||||
dev: true
|
dev: true
|
||||||
|
|
||||||
github.com/DeterminateSystems/detsys-ts/f1554c0d3a5f1114cff78879e50bc118451a03c0:
|
github.com/DeterminateSystems/detsys-ts/a089656286a58dc6767247181b5280826f20473a:
|
||||||
resolution: {tarball: https://codeload.github.com/DeterminateSystems/detsys-ts/tar.gz/f1554c0d3a5f1114cff78879e50bc118451a03c0}
|
resolution: {tarball: https://codeload.github.com/DeterminateSystems/detsys-ts/tar.gz/a089656286a58dc6767247181b5280826f20473a}
|
||||||
name: detsys-ts
|
name: detsys-ts
|
||||||
version: 1.0.0
|
version: 1.0.0
|
||||||
dependencies:
|
dependencies:
|
||||||
|
|
Loading…
Reference in a new issue