circleci-orb icon indicating copy to clipboard operation
circleci-orb copied to clipboard

Multiple steps for build and post-install options

Open nicholaschiang opened this issue 5 years ago • 0 comments

The orb does not work as expected

1.26.0

  • paste the circle.yml file if possible or at least the relevant portion
- cypress/install
  name: 'Setup Linux'
  yarn: true
  build:
    - run: echo 'This is a test command'
    - run: echo 'This is another test command'
  • describe what you think should happen

Based on the CircleCI documentation, the steps parameter type should accept a list of commands like the one included above.

In src/orb.yml the build parameter is assigned the steps type:

      build:
        type: steps
        default: []
        description: Custom build commands to run after install
  • describe what happens
    • screenshots and links to the CircleCI builds would be great

The CircleCI build errors saying that the parameter type was not as expected:

Error calling workflow: 'linux'
Error calling job: 'cypress/install'
Type error for argument build: expected type: string, actual value: "clojure.lang.LazySeq@fae3adad" (type sequence)

nicholaschiang avatar Sep 13 '20 21:09 nicholaschiang