Skip to content
This repository has been archived by the owner on Oct 24, 2024. It is now read-only.

Commit

Permalink
Stop server in post step (#7)
Browse files Browse the repository at this point in the history
  • Loading branch information
rajivshah3 authored Dec 29, 2022
1 parent 5c843a6 commit 5d5f1a3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions dist/post/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -3997,8 +3997,8 @@ const core = __importStar(__nccwpck_require__(186));
const exec_1 = __nccwpck_require__(514);
function guardedRun() {
return __awaiter(this, void 0, void 0, function* () {
core.debug("Gathering statistics");
(0, exec_1.exec)("sccache", ["--show-stats"]);
core.debug("Stopping server and gathering statistics");
(0, exec_1.exec)("sccache", ["--stop-server"]);
});
}
function run() {
Expand Down
4 changes: 2 additions & 2 deletions src/post.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ import * as core from "@actions/core";
import { exec } from "@actions/exec";

async function guardedRun(): Promise<void> {
core.debug("Gathering statistics");
exec("sccache", ["--show-stats"]);
core.debug("Stopping server and gathering statistics");
exec("sccache", ["--stop-server"]);
}

async function run(): Promise<void> {
Expand Down

0 comments on commit 5d5f1a3

Please sign in to comment.