minor fixes

This commit is contained in:
Rob Herley committed 2023-12-01 09:05:46 -05:00
1 parent fc051fc5d6
commit 1a06ea73d3
2 files changed
+5 -3

No files matched your search

+3 -1
View File
@@ -12,6 +12,7 @@ import {getGitHubWorkspaceDir} from '../shared/config'
import {internalArtifactTwirpClient} from '../shared/artifact-twirp-client'
import {
GetSignedArtifactURLRequest,
Int64Value,
ListArtifactsRequest
} from '../../generated'
import {getBackendIdsFromToken} from '../shared/util'
@@ -110,7 +111,8 @@ export async function downloadArtifactInternal(
const listReq: ListArtifactsRequest = {
workflowRunBackendId,
workflowJobRunBackendId
workflowJobRunBackendId,
idFilter: Int64Value.create({value: artifactId.toString()})
}
const {artifacts} = await artifactClient.ListArtifacts(listReq)