There was an error while loading. Please reload this page.
1 parent a497d72 commit 94212d1Copy full SHA for 94212d1
1 file changed
src/index.ts
@@ -22,8 +22,8 @@ function resolveInstallDependencies(input: string): boolean {
22
23
const isGitHubHosted = runnerEnvironment === "github-hosted" && agentIsSelfHosted !== "1";
24
25
- // shouldInstall will return true for self-hosted and false for gitub-hosted
26
- const shouldInstall = !isGitHubHosted;
+ // shouldInstall will return true for github-hosted and false for self-hosted
+ const shouldInstall = isGitHubHosted;
27
28
core.info(`Auto-detected runner type: ${isGitHubHosted ? 'GitHub-hosted' : 'self-hosted'}`);
29
core.info(`System dependencies will ${shouldInstall ? 'be' : 'not be'} installed (auto mode)`);
0 commit comments