Exec include does not work with more than one step

Trying to run multiple steps and exec does not do anything while single individual steps are fine, is this a bug?

drone exec --include=build,test
1 Like

I agree, the help message hints that steps (plural) are allowed.

--include value Name of steps to include

I tried declaring the include flag multiple times without success.

drone exec --include install --include build


drone exec --include install --include build

The command above indeed works. I had a condition which wasn’t matching hence the second step being skipped. But declaring the flag multiple times works as expected.