Skip to content

Commit

Permalink
add input field
Browse files Browse the repository at this point in the history
  • Loading branch information
housten authored Jun 12, 2024
1 parent feda5ca commit 72a1220
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion .github/workflows/test-workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,22 @@ name: test demo

on:
workflow_dispatch:
inputs:
namefield:
type: choice
options:
- attendees
- team
- world


jobs:
Step1:
runs-on: ubuntu-latest

steps:
- name: step1
run: echo "hello everyone!"
run: |
echo "hello ${{ github.event.inputs.namefield }}!"
echo "hello ${{ github.event.inputs.namefield }}!" >> $GITHUB_STEP_SUMMARY

0 comments on commit 72a1220

Please sign in to comment.