Skip to content

Commit

Permalink
Debug
Browse files Browse the repository at this point in the history
  • Loading branch information
GitHub Actions committed Jul 23, 2023
1 parent 27b2b96 commit 49f64c0
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,13 @@ const execute = async (
const run = async () => {
const requirementsContent = "rstfmt==0.0.13\n";
fs.writeFileSync("./requirements.txt", requirementsContent);
// type ls:
const { err, stdOut, stdErr } = await execute("ls", { silent: true });
if (err) {
core.setFailed(stdErr);
} else {
core.info(stdOut);
}

await execute("pip install -r requirements.txt", { silent: true });

Expand Down

0 comments on commit 49f64c0

Please sign in to comment.