ability.yaml 651 B

1234567891011121314151617181920212223242526272829303132
  1. name: test
  2. description: Minimal test ability to validate core concept
  3. inputs:
  4. message:
  5. type: string
  6. required: false
  7. default: "Hello from abilities!"
  8. steps:
  9. - id: step1
  10. type: script
  11. description: First test step
  12. run: echo "Step 1 - {{inputs.message}}"
  13. validation:
  14. exit_code: 0
  15. - id: step2
  16. type: script
  17. description: Second test step (depends on step1)
  18. needs: [step1]
  19. run: echo "Step 2 - Completed successfully"
  20. validation:
  21. exit_code: 0
  22. - id: step3
  23. type: script
  24. description: Final step
  25. needs: [step2]
  26. run: echo "Step 3 - All done!"
  27. validation:
  28. exit_code: 0