Difference between revisions of "GitHub Actions: inputs:"

From wikieduonline
Jump to navigation Jump to search
Line 9: Line 9:
 
   [[workflow_dispatch]]:
 
   [[workflow_dispatch]]:
 
     [[inputs]]:
 
     [[inputs]]:
 +
 +
Example:
 +
<code>
 +
on:
 +
  workflow_dispatch:
 +
    inputs:
 +
      name:
 +
        type: choice
 +
        description: Who to greet
 +
        options:
 +
        - monalisa
 +
        - cschleiden
 +
      message:
 +
        required: true
 +
      use-emoji:
 +
        type: boolean
 +
        description: Include  emojis
 +
      environment:
 +
        type: environment
 +
 +
</code>
  
 
== Related ==
 
== Related ==

Revision as of 11:35, 21 March 2023

Advertising: