Fix step caching
There are no commits yet
Push commits to the source branch or add previously merged commits to review them.
Created by: eseliger
Src side change for https://github.com/sourcegraph/sourcegraph/pull/37240
This fixes two things, that I found today:
${{ previous_step.stdout }}
is used.PreviousStepResult
. When running the actual execution, it will eventually become the result of the previous step, but from the perspective of that particular cache result, it has to be the result from THAT step execution. Otherwise caching would only work from step 2 on and skip 1 step still.Test case and manual verification.
Push commits to the source branch or add previously merged commits to review them.