Files
gh-tangle-release/src/tangle-release.js
Martyn Janes e578215a93 Debug info
2019-12-19 12:13:15 +01:00

17 lines
399 B
JavaScript

const core = require('@actions/core');
const { context } = require('@actions/github');
async function run() {
try {
// Get owner and repo from context of payload that triggered the action
const { owner, repo } = context.repo;
core.debug(JSON.stringify(owner));
core.debug(JSON.stringify(repo));
} catch (error) {
core.setFailed(error.message);
}
}
module.exports = run;