Skip to content

Commit 940c903

Browse files
[no ci] update api
1 parent b11d17e commit 940c903

1 file changed

Lines changed: 4 additions & 3 deletions

File tree

.github/workflows/update-repo.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -300,14 +300,15 @@ jobs:
300300
try {
301301
const path = `packages/${repo.artifact}`
302302
const options = {
303-
createArtifactFolder: false
303+
createArtifactFolder: false,
304+
findBy: findByData
304305
}
305306
console.log("downloading " + repo.artifact + " to " + path)
306307
307308
for(var art of artifacts.filter(a => a.name === repo.artifact || a.name && a.name.startsWith(repo.artifact + "-"))) {
308309
try {
309-
console.log(JSON.stringify({name: art.name, path, options}));
310-
const downloadResponse = await artifactClient.downloadArtifact(art.name, path, options);
310+
console.log(JSON.stringify({name: art.name, id: art.id, path, options}));
311+
const downloadResponse = await artifactClient.downloadArtifact(art.id, path, options);
311312
} catch(err) {
312313
console.log(err)
313314
}

0 commit comments

Comments
 (0)