You've already forked dynamic-badges-action
🔧 Test once more...
This commit is contained in:
7
index.js
7
index.js
@@ -66,6 +66,9 @@ try {
|
|||||||
};
|
};
|
||||||
data = JSON.stringify(data);
|
data = JSON.stringify(data);
|
||||||
|
|
||||||
|
console.log('test 0');
|
||||||
|
|
||||||
|
|
||||||
const req = http.request(
|
const req = http.request(
|
||||||
{
|
{
|
||||||
host: 'api.github.com',
|
host: 'api.github.com',
|
||||||
@@ -90,10 +93,12 @@ try {
|
|||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
|
console.log('test 1');
|
||||||
req.write(data);
|
req.write(data);
|
||||||
|
console.log('test 2');
|
||||||
req.end();
|
req.end();
|
||||||
|
|
||||||
console.log('all done');
|
console.log('test 3');
|
||||||
|
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
core.setFailed(error);
|
core.setFailed(error);
|
||||||
|
|||||||
Reference in New Issue
Block a user