Update api-client.js

reference actions/upload-artifact@v4 (rather than actions/artifact@v4, which I couldn't find)
This commit is contained in:
Luciano Mammino
2024-01-06 12:34:08 +00:00
committed by GitHub
parent 7a9bd943aa
commit 8de45ac1dc

View File

@@ -83,7 +83,7 @@ async function getArtifactMetadata({ artifactName }) {
if (artifactCount === 0) {
throw new Error(
`No artifacts named "${artifactName}" were found for this workflow run. Ensure artifacts are uploaded with actions/artifact@v4 or later.`
`No artifacts named "${artifactName}" were found for this workflow run. Ensure artifacts are uploaded with actions/upload-artifact@v4 or later.`
)
} else if (artifactCount > 1) {
throw new Error(