fix: core reference, template

This commit is contained in:
NeverBehave
2021-01-10 23:39:22 -05:00
parent 0c46346109
commit 05ce88e8db
3 changed files with 13 additions and 5 deletions
+2 -2
View File
@@ -37,6 +37,6 @@ jobs:
const link = process.env.TEST_BASEURL
const routes = JSON.parse(process.env.TEST_ROUTES)
const number = context.payload.pull_request.number
console.log(link, routes, number)
core.info(`${link}, ${routes}, ${number}`)
const script = require(`${process.env.GITHUB_WORKSPACE}/scripts/workflow/test-route/test.js`)
return await script({github, context}, link, routes, number)
return await script({github, context, core}, link, routes, number)