Skip to content

Commit 1920092

Browse files
committed
Fix names in github script downloads
1 parent c8f9938 commit 1920092

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

.github/workflows/debos.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -75,18 +75,18 @@ jobs:
7575
return artifact.name == "linux-deb-links"
7676
})[0];
7777
# download both in memory
78-
let u_boot_rb1_dl =
78+
let linux_deb_dl =
7979
await github.rest.actions.downloadArtifact({
8080
owner: context.repo.owner,
8181
repo: context.repo.repo,
82-
artifact_id: u_boot_rb1.id,
82+
artifact_id: linux_deb.id,
8383
archive_format: 'zip',
8484
});
85-
let linux_deb_dl =
85+
let u_boot_rb1_dl =
8686
await github.rest.actions.downloadArtifact({
8787
owner: context.repo.owner,
8888
repo: context.repo.repo,
89-
artifact_id: linux_deb.id,
89+
artifact_id: u_boot_rb1.id,
9090
archive_format: 'zip',
9191
});
9292
# write files under temp dir
@@ -97,9 +97,9 @@ jobs:
9797
fs.mkdirSync(temp);
9898
}
9999
fs.writeFileSync(path.join(temp, 'linux_deb_links.zip'),
100-
Buffer.from(linux_deb.data));
100+
Buffer.from(linux_deb_dl.data));
101101
fs.writeFileSync(path.join(temp, 'u_boot_rb1_links.zip'),
102-
Buffer.from(u_boot_rb1.data));
102+
Buffer.from(u_boot_rb1_dl.data));
103103
104104
- name: Build debos recipe
105105
run: |

0 commit comments

Comments
 (0)