Skip to content

Commit ada6d47

Browse files
Create main.js
1 parent 1be7d89 commit ada6d47

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
const getJoke = require("./joke");
2+
const core = require("@actions/core");
3+
4+
async function run() {
5+
const joke = await getJoke();
6+
console.log(joke);
7+
core.setOutput("joke-output", joke);
8+
}
9+
10+
run();

0 commit comments

Comments
 (0)