Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 18 additions & 1 deletion .github/workflows/lab2-workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,26 @@ name: Exploring Workflow Dispatch Trigger

on:
workflow_dispatch:
inputs:
run_job:
type: boolean
required: false
description: "Run Specific Job"
custom_message:
type: string
description: "Enter a custom message"
required: true


jobs:
job1:
runs-on: ubuntu-latest
steps:
- run: echo "Exploring Workflow Dispatch Trigger"
- run: echo "Exploring Workflow Dispatch Trigger"
job2:
runs-on: ubuntu-latest
steps:
- name: Printing Custom Message
run: |
echo "Custome_Message input: ${{ inputs.custom_message}}"