diff --git a/src/action.js b/src/action.js index bb468ea..db862ed 100644 --- a/src/action.js +++ b/src/action.js @@ -96,7 +96,7 @@ function getSourceBranch() { } const slug = context.payload.repository.full_name; const branch = getSourceBranch(); - exitCode = await exec(filename, ['upload', '--token', token, slug, branch]); + exitCode = await exec(filename, ['app', 'upload', '--token', token, slug, branch]); } const doCheck = core.getInput('check') || true; if (doCheck && exitCode === 0) { @@ -112,4 +112,4 @@ function getSourceBranch() { fs.unlinkSync(filename); console.log('Done!'); process.exit(exitCode); -})(); \ No newline at end of file +})();