Skip to content

Commit 93fa2bd

Browse files
committed
Define fs
Signed-off-by: Loïc Minier <[email protected]>
1 parent 2d64565 commit 93fa2bd

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

.github/workflows/debos.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,8 @@ jobs:
4848
uses: actions/github-script@v6
4949
with:
5050
script: |
51+
const fs = require('fs');
52+
5153
// helper to search for the latest artifact with this name in this
5254
// repository (not particularly for this workflow run; artifacts
5355
// we're looking for will only be built from a scheduled (cron)
@@ -95,9 +97,9 @@ jobs:
9597
}
9698
9799
try {
98-
let linux_deb_artifact =
100+
const linux_deb_artifact =
99101
await lastArtifactByName("linux-deb-links");
100-
let u_boot_rb1_artifact =
102+
const u_boot_rb1_artifact =
101103
await lastArtifactByName("u-boot-rb1-links");
102104
103105
if (!linux_deb_artifact || !u_boot_rb1_artifact) {

0 commit comments

Comments
 (0)