Open eddiewebb opened 1 year ago
https://circleci.com/developer/orbs/orb/circleci/orb-tools?version=12.0.0#jobs-publish onwards support a attach_workspace
boolean parameter which would allow someone to set it false and then put their logic into a pre-steps
block.
e.g. have a pre-steps
block that does everything that the publish
job normally does when attach_workspace
is true and then carry out the customer-specific logic.
(Weirdly, the job also supports a checkout
boolean that's declared and never used ... but that's already been reported in #211)
Describe Request:
Customer is publishing single orb to many organizations and using
matrix
to call publish job.They thought about using
pre-steps
to run someenvsubt
on the yaml before publishing, but since pre-steps run before workspace from prior job is attached, there is nothing to work on. Pre-step does not support special copmmands likeattach_workspace
so I am suggesting a parameter topublish
job that is ofsteps
type to run after checkout (#211 )/attach worksapce but before publish step.Examples:
Supporting Documentation Links: