@@ -67,7 +67,8 @@ func (a stepActivator) activateStep(
67
67
}
68
68
69
69
return stepmanModels.ActivatedStep {
70
- StepYMLPath : stepYMLPth ,
70
+ SourceAbsDirPath : stepDir ,
71
+ StepYMLPath : stepYMLPth ,
71
72
}, origStepYMLPth , nil
72
73
} else if stepIDData .SteplibSource == "git" {
73
74
log .Debugf ("[BITRISE_CLI] - Remote step, with direct git uri: (uri:%s) (tag-or-branch:%s)" , stepIDData .IDorURI , stepIDData .Version )
@@ -100,13 +101,12 @@ even if the repository is open source!`)
100
101
}
101
102
102
103
return stepmanModels.ActivatedStep {
103
- StepYMLPath : stepYMLPth ,
104
+ SourceAbsDirPath : stepDir ,
105
+ StepYMLPath : stepYMLPth ,
104
106
}, "" , nil
105
107
} else if stepIDData .SteplibSource == "_" {
106
108
log .Debugf ("[BITRISE_CLI] - Steplib independent step, with direct git uri: (uri:%s) (tag-or-branch:%s)" , stepIDData .IDorURI , stepIDData .Version )
107
109
108
- // Steplib independent steps are completly defined in workflow
109
- stepYMLPth = ""
110
110
if err := workflowStep .FillMissingDefaults (); err != nil {
111
111
return stepmanModels.ActivatedStep {}, "" , err
112
112
}
@@ -118,6 +118,12 @@ even if the repository is open source!`)
118
118
if err := repo .CloneTagOrBranch (stepIDData .IDorURI , stepIDData .Version ).Run (); err != nil {
119
119
return stepmanModels.ActivatedStep {}, "" , err
120
120
}
121
+
122
+ return stepmanModels.ActivatedStep {
123
+ SourceAbsDirPath : stepDir ,
124
+ StepYMLPath : "" , // Steplib independent steps are completly defined in workflow
125
+ },
126
+ "" , nil
121
127
} else if stepIDData .SteplibSource != "" {
122
128
isUpdated := buildRunResults .IsStepLibUpdated (stepIDData .SteplibSource )
123
129
stepInfo , activatedStep , didUpdate , err := activateStepLibStep (stepIDData , stepDir , stepYMLPth , isUpdated )
0 commit comments