mirror of
https://code.forgejo.org/actions/download-artifact
synced 2025-07-08 03:06:00 +02:00
More testing
This commit is contained in:
parent
ae7a633d32
commit
b234c56d62
1 changed files with 3 additions and 0 deletions
|
@ -108,9 +108,11 @@ 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,
|
||||
|
@ -129,6 +131,7 @@ 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