mirror of
https://github.com/DeterminateSystems/magic-nix-cache-action.git
synced 2024-11-29 10:31:50 +03:00
Regenerate dist
This commit is contained in:
parent
a31b1826d0
commit
0944191ed3
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");
|
||||
;// CONCATENATED MODULE: external "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@848cedfa44c31ae5ed7995350bb2707b9422840e_heluh4h342h2muwandvhzbsvpi/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 __export = (target, all) => {
|
||||
for (var name in all)
|
||||
@ -94528,7 +94528,6 @@ var EVENT_ARTIFACT_CACHE_HIT = "artifact_cache_hit";
|
||||
var EVENT_ARTIFACT_CACHE_MISS = "artifact_cache_miss";
|
||||
var EVENT_ARTIFACT_CACHE_PERSIST = "artifact_cache_persist";
|
||||
var EVENT_PREFLIGHT_REQUIRE_NIX_DENIED = "preflight-require-nix-denied";
|
||||
var FACT_ARTIFACT_FETCHED_FROM_CACHE = "artifact_fetched_from_cache";
|
||||
var FACT_ENDED_WITH_EXCEPTION = "ended_with_exception";
|
||||
var FACT_FINAL_EXCEPTION = "final_exception";
|
||||
var FACT_OS = "$os";
|
||||
@ -94755,11 +94754,8 @@ var DetSysAction = class {
|
||||
}
|
||||
}
|
||||
/**
|
||||
* Fetch an artifact, such as a tarball, from the location determined by the
|
||||
* `source-*` inputs. If `source-binary` is specified, this will return a path
|
||||
* to a binary on disk; otherwise, the artifact will be downloaded from the
|
||||
* URL determined by the other `source-*` inputs (`source-url`, `source-pr`,
|
||||
* etc.).
|
||||
* Fetch an artifact, such as a tarball, from the URL determined by the
|
||||
* `source-*` inputs.
|
||||
*/
|
||||
async fetchArtifact() {
|
||||
const sourceBinary = getStringOrNull("source-binary");
|
||||
@ -94787,12 +94783,12 @@ var DetSysAction = class {
|
||||
);
|
||||
const cached = await this.getCachedVersion(v);
|
||||
if (cached) {
|
||||
this.facts[FACT_ARTIFACT_FETCHED_FROM_CACHE] = true;
|
||||
this.facts["artifact_fetched_from_cache"] = true;
|
||||
core.debug(`Tool cache hit.`);
|
||||
return cached;
|
||||
}
|
||||
}
|
||||
this.facts[FACT_ARTIFACT_FETCHED_FROM_CACHE] = false;
|
||||
this.facts["artifact_fetched_from_cache"] = false;
|
||||
core.debug(
|
||||
`No match from the cache, re-fetching from the redirect: ${versionCheckup.url}`
|
||||
);
|
||||
|
Loading…
Reference in New Issue
Block a user