action.yml 898 B

12345678910111213141516171819202122232425262728293031323334
  1. name: "Unstable commands"
  2. description: "An action to retry commands if weird things happen."
  3. inputs:
  4. commands:
  5. description: "The commands to run."
  6. required: true
  7. timeout-minutes:
  8. description: "Maximum number of minutes before the commands are cancelled."
  9. required: true
  10. retry-codes:
  11. description: "A comma-separated value containing the exit codes which should cause a retry."
  12. required: true
  13. shell:
  14. description: "The shell to use to run the commands."
  15. required: false
  16. default: "default-shell"
  17. working-directory:
  18. description: "The working directory of where to run the commands."
  19. required: false
  20. default: ${{ github.workspace }}
  21. max-retries:
  22. description: "Maximum number of retries before giving up."
  23. required: false
  24. default: "3"
  25. runs:
  26. using: "node20"
  27. main: "dist/index.js"
  28. branding:
  29. color: "yellow"
  30. icon: "terminal"