manual.yml 1008 B

12345678910111213141516171819202122232425262728293031
  1. # This is a basic workflow that is manually triggered
  2. name: Manual workflow
  3. # Controls when the action will run. Workflow runs when manually triggered using the UI
  4. # or API.
  5. on:
  6. workflow_dispatch:
  7. # Inputs the workflow accepts.
  8. inputs:
  9. name:
  10. # Friendly description to be shown in the UI instead of 'name'
  11. description: 'Person to greet'
  12. # Default value if no value is explicitly provided
  13. default: 'World'
  14. # Input has to be provided for the workflow to run
  15. required: true
  16. # A workflow run is made up of one or more jobs that can run sequentially or in parallel
  17. jobs:
  18. # This workflow contains a single job called "greet"
  19. greet:
  20. # The type of runner that the job will run on
  21. runs-on: ubuntu-latest
  22. # Steps represent a sequence of tasks that will be executed as part of the job
  23. steps:
  24. # Runs a single command using the runners shell
  25. - name: Send greeting
  26. run: echo "Hello ${{ github.event.inputs.name }}"