Closed runlevel5 closed 1 month ago
The default.run
documentation states the following:
Use
jobs.<job_id>.defaults.run
to provide defaultshell
andworking-directory
to allrun
steps in the job.
Note how it explicity states that this provides the default for run
steps, not uses
steps. So I don't think this setting is meant to work for uses
steps unfortunately, and I don't think there's anything we can do in this action to fix that.
What happened?
Please see example section
Example
I have a simple pipeline:
When running pipeline I got the error that could not find stack, simply because
pulumi preview
does NOT respectdefault.run.working-directory
In order to fix this issue I have to explicitly declare
work-dir
inpulumi/actions
step:Output of
pulumi about
It happens with all pulumi version from v4 to v5
Additional context
No response
Contributing
Vote on this issue by adding a 👍 reaction. To contribute a fix for this issue, leave a comment (and link to your pull request, if you've opened one already).