mirror of
https://github.com/actions/deploy-pages.git
synced 2026-04-04 00:32:10 +00:00
Display artifact name in some post-filter error messages
This commit is contained in:
@@ -383,7 +383,7 @@ describe('Deployment', () => {
|
||||
|
||||
const deployment = new Deployment()
|
||||
await expect(deployment.create(fakeJwt)).rejects.toThrow(
|
||||
`Multiple artifacts unexpectedly found for this workflow run. Artifact count is 2.`
|
||||
`Multiple artifacts named "github-pages" were unexpectedly found for this workflow run. Artifact count is 2.`
|
||||
)
|
||||
twirpScope.done()
|
||||
})
|
||||
@@ -403,7 +403,7 @@ describe('Deployment', () => {
|
||||
|
||||
const deployment = new Deployment()
|
||||
await expect(deployment.create(fakeJwt)).rejects.toThrow(
|
||||
`No artifacts 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/artifact@v4 or later.`
|
||||
)
|
||||
twirpScope.done()
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user