Merge pull request #295 from lmammino/patch-1

Update api-client.js
This commit is contained in:
James M. Greene
2024-02-05 18:31:01 -06:00
committed by GitHub
4 changed files with 4 additions and 4 deletions

2
dist/index.js generated vendored
View File

@@ -147161,7 +147161,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(

2
dist/index.js.map generated vendored

File diff suppressed because one or more lines are too long

View File

@@ -403,7 +403,7 @@ describe('Deployment', () => {
const deployment = new Deployment()
await expect(deployment.create(fakeJwt)).rejects.toThrow(
`No artifacts named "github-pages" were found for this workflow run. Ensure artifacts are uploaded with actions/artifact@v4 or later.`
`No artifacts named "github-pages" were found for this workflow run. Ensure artifacts are uploaded with actions/upload-artifact@v4 or later.`
)
twirpScope.done()
})

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(