We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6c51b61 commit d90fa30Copy full SHA for d90fa30
src/tools/github.ts
@@ -4,6 +4,7 @@
4
* Copyright (C) 2020-2022 Posit Software, PBC
5
*/
6
7
+import { runningInCI } from "../core/ci-info.ts";
8
import { GitHubRelease } from "./types.ts";
9
10
// deno-lint-ignore-file camelcase
@@ -49,8 +50,7 @@ function githubActionsWorkflowCommand(
49
50
}
51
52
export async function group<T>(title: string, fn: () => Promise<T>) {
- Deno.env.get("CI");
53
- if (!Deno.env.get("CI")) {
+ if (!runningInCI()) {
54
return fn();
55
56
console.log(githubActionsWorkflowCommand("group", title));
0 commit comments