MCPcopy Create free account
hub / github.com/github/gh-aw / GetInstallationSteps

Method GetInstallationSteps

pkg/workflow/antigravity_engine.go:92–107  ·  view source on GitHub ↗
(workflowData *WorkflowData)

Source from the content-addressed store, hash-verified

90}
91
92func (e *AntigravityEngine) GetInstallationSteps(workflowData *WorkflowData) []GitHubActionStep {
93 antigravityLog.Printf("Generating installation steps for Antigravity engine: workflow=%s", workflowData.Name)
94
95 // Skip installation if custom command is specified
96 if workflowData.EngineConfig != nil && workflowData.EngineConfig.Command != "" {
97 antigravityLog.Printf("Skipping installation steps: custom command specified (%s)", workflowData.EngineConfig.Command)
98 return []GitHubActionStep{}
99 }
100
101 version := string(constants.DefaultAntigravityVersion)
102 if workflowData.EngineConfig != nil && workflowData.EngineConfig.Version != "" {
103 version = workflowData.EngineConfig.Version
104 }
105 installSteps := GenerateAntigravityInstallerSteps(version, "Install Antigravity CLI")
106 return BuildNpmEngineInstallStepsWithAWF(installSteps, workflowData)
107}
108
109// GetDeclaredOutputFiles returns the output files that Antigravity may produce.
110// Antigravity CLI writes structured error reports to /tmp/antigravity-client-error-*.json

Calls 3

PrintfMethod · 0.45