| 90 | } |
| 91 | |
| 92 | func (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 |