/**
* @param {object} params
* @param {import('@actions/github/lib/context').Context} params.context -
* @see {@link https://github.com/actions/toolkit/blob/main/packages/github/src/context.ts}
* @param {typeof import('@actions/core')} params.core -
* @see {@link https://github.com/actions/toolkit/tree/main/packages/core}
* @param {typeof import('@actions/github')} params.github -
* @see {@link https://github.com/actions/toolkit/tree/main/packages/github}
* @param {typeof import('@actions/exec')} params.exec -
* @see {@link https://github.com/actions/toolkit/tree/main/packages/exec}
* @param {typeof import('@actions/glob')} params.glob -
* @see {@link https://github.com/actions/toolkit/tree/main/packages/glob}
* @param {typeof import('@actions/io')} params.io -
* @see {@link https://github.com/actions/toolkit/tree/main/packages/io}
* @param {NodeRequire} params.require
*/
async function main({ context, core, github, exec, glob, io, require }) {
// **All** your code here ...
}"use strict";
const main = async ({ core, github, exec, }) => {
...
};
module.exports = main;
//# sourceMappingURL=action.js.mapUsage:
const script = require(`${process.env.GITHUB_ACTION_PATH}/action.js`)
return await main({ context, core, github, exec, glob, io, require });