Skip to content

Commit cc706ff

Browse files
committed
Debug
1 parent ac4de31 commit cc706ff

File tree

1 file changed

+30
-11
lines changed

1 file changed

+30
-11
lines changed

.github/workflows/debos.yml

Lines changed: 30 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -74,25 +74,44 @@ jobs:
7474
7575
// write files under temp dir
7676
const fs = require('fs');
77-
const path = require('path');
78-
fs.writeFileSync('linux_deb_links.zip',
77+
fs.writeFileSync('linux-deb-links.zip',
7978
Buffer.from(linux_deb_url));
80-
fs.writeFileSync('u_boot_rb1_links.zip',
79+
fs.writeFileSync('u-boot-rb1-links.zip',
8180
Buffer.from(u_boot_rb1_url));
8281
82+
const path = require('path');
83+
// Print the current directory
84+
const currentDirectory = __dirname;
85+
console.log(`Current directory: ${currentDirectory}`);
86+
87+
// List files in the current directory
88+
fs.readdir(currentDirectory, (err, files) => {
89+
if (err) {
90+
console.error('Error reading directory:', err);
91+
return;
92+
}
93+
console.log('Files in current directory:');
94+
files.forEach(file => {
95+
console.log(file);
96+
});
97+
});
98+
99+
83100
- name: Download Linux deb and U-Boot for RB1 from fileserver
84101
run: |
85102
set -ux
86103
apt update
87104
apt -y install unzip
88-
unzip -l linux_deb_links.zip
89-
unzip -l u_boot_rb1_links.zip
90-
mkdir linux_deb_links
91-
mkdir u_boot_rb1_links
92-
unzip linux_deb_links.zip -d linux_deb_links
93-
unzip u_boot_rb1_links.zip -d u_boot_rb1_links
94-
head u_boot_rb1_links/*
95-
ls `cat u_boot_rb1_links/*.dir`
105+
pwd
106+
ls
107+
unzip -l linux-deb-links.zip
108+
unzip -l u-boot-rb1-links.zip
109+
mkdir linux-deb-links
110+
mkdir u-boot-rb1-links
111+
unzip linux-deb-links.zip -d linux-deb-links
112+
unzip u-boot-rb1-links.zip -d u-boot-rb1-links
113+
head u-boot-rb1-links/*
114+
ls `cat u-boot-rb1-links/*.dir`
96115
97116
# make sure we have latest packages first, to get latest fixes and to
98117
# avoid an automated update while we're building

0 commit comments

Comments
 (0)