mirror of
https://github.com/actions/download-artifact.git
synced 2025-07-23 06:58:29 +02:00
Remove test code (except that one bit)
This commit is contained in:
parent
38d7f89927
commit
44d505ca00
2 changed files with 0 additions and 5 deletions
|
@ -108,11 +108,9 @@ async function run(): Promise<void> {
|
|||
core.info(
|
||||
`- ${artifact.name} (ID: ${artifact.id}, Size: ${artifact.size})`
|
||||
)
|
||||
core.info(`Artifact digest: ${artifact.digest}`)
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
const downloadPromises = artifacts.map(artifact =>
|
||||
artifactClient.downloadArtifact(artifact.id, {
|
||||
...options,
|
||||
|
@ -131,7 +129,6 @@ async function run(): Promise<void> {
|
|||
|
||||
for (const dlPromise of downloadPromises) {
|
||||
const outcome = await dlPromise
|
||||
core.info(`digest mismatch: ${outcome.digestMismatch}`)
|
||||
if (!outcome.digestMismatch) {
|
||||
core.warning(
|
||||
`Artifact digest validation failed. Please verify the integrity of the artifact.`
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue