mirror of
https://code.forgejo.org/forgejo/download-artifact.git
synced 2026-02-26 08:02:00 +00:00
bundle dist
This commit is contained in:
parent
bff23f9308
commit
e262cbee4a
1 changed files with 4 additions and 2 deletions
6
dist/index.js
vendored
6
dist/index.js
vendored
|
|
@ -118883,7 +118883,9 @@ function run() {
|
||||||
}
|
}
|
||||||
const downloadPromises = artifacts.map(artifact => ({
|
const downloadPromises = artifacts.map(artifact => ({
|
||||||
name: artifact.name,
|
name: artifact.name,
|
||||||
promise: artifact_1.default.downloadArtifact(artifact.id, Object.assign(Object.assign({}, options), { path: isSingleArtifactDownload || inputs.mergeMultiple
|
promise: artifact_1.default.downloadArtifact(artifact.id, Object.assign(Object.assign({}, options), { path: isSingleArtifactDownload ||
|
||||||
|
inputs.mergeMultiple ||
|
||||||
|
artifacts.length === 1
|
||||||
? resolvedPath
|
? resolvedPath
|
||||||
: path.join(resolvedPath, artifact.name), expectedHash: artifact.digest }))
|
: path.join(resolvedPath, artifact.name), expectedHash: artifact.digest }))
|
||||||
}));
|
}));
|
||||||
|
|
@ -128958,4 +128960,4 @@ module.exports = JSON.parse('[[[0,44],"disallowed_STD3_valid"],[[45,46],"valid"]
|
||||||
/******/ module.exports = __webpack_exports__;
|
/******/ module.exports = __webpack_exports__;
|
||||||
/******/
|
/******/
|
||||||
/******/ })()
|
/******/ })()
|
||||||
;
|
;
|
||||||
Loading…
Reference in a new issue