Skip to content

Commit

Permalink
Update api-client.js
Browse files Browse the repository at this point in the history
reference actions/upload-artifact@v4 (rather than actions/artifact@v4, which I couldn't find)
  • Loading branch information
lmammino authored Jan 6, 2024
1 parent 7a9bd94 commit 8de45ac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/internal/api-client.js
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down

0 comments on commit 8de45ac

Please sign in to comment.