Difference between revisions of "GitHub Actions: inputs:"

From wikieduonline
Jump to navigation Jump to search
 
(5 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
 
 
  
 
* https://github.blog/changelog/2021-11-10-github-actions-input-types-for-manual-workflows/
 
* https://github.blog/changelog/2021-11-10-github-actions-input-types-for-manual-workflows/
Line 9: Line 6:
 
   [[workflow_dispatch]]:
 
   [[workflow_dispatch]]:
 
     [[inputs]]:
 
     [[inputs]]:
 +
 +
Example:
 +
 +
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
 +
  
 
== Related ==
 
== Related ==
 
* [[Azure Pipelines: inputs:]]
 
* [[Azure Pipelines: inputs:]]
 
* <code>[[jobs:]]</code>
 
* <code>[[jobs:]]</code>
 +
* <code>[[uses:]]</code>
 
* [[GitHub Actions variables]]
 
* [[GitHub Actions variables]]
 
* [[Terragrunt: inputs]]
 
* [[Terragrunt: inputs]]

Latest revision as of 13:34, 16 August 2023

Advertising: