mirror of
https://github.com/actions/download-artifact.git
synced 2025-12-31 15:02:17 +00:00
Merge upstream/main and resolve conflicts for node24
This commit is contained in:
commit
983cbdef67
7 changed files with 91 additions and 20 deletions
4
dist/index.js
vendored
4
dist/index.js
vendored
|
|
@ -75908,7 +75908,9 @@ function run() {
|
|||
}
|
||||
const downloadPromises = artifacts.map(artifact => ({
|
||||
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
|
||||
: path.join(resolvedPath, artifact.name), expectedHash: artifact.digest }))
|
||||
}));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue