kit icon indicating copy to clipboard operation
kit copied to clipboard

Conditionally skipping/running tasks

Open alexec opened this issue 2 years ago • 0 comments

I would be good to be able to conditionally run tasks. This would be a bit like Github actions, e.g.`

- name: foo
   command: sh script
   if: success()
- name: foo
   command: sh script
   if: failure()
- name: foo
   command: sh script
   if: always()
- name: foo
   command: sh script
   if: env.FOO == 1

alexec avatar Feb 19 '23 16:02 alexec