From ebec2810952fecdd8c359c787bae15e39507ea5d Mon Sep 17 00:00:00 2001 From: Yash Naik Date: Mon, 18 Aug 2025 11:30:29 +0530 Subject: [PATCH] Executing KodeKloud Lab 2 --- .github/workflows/lab2-workflow.yml | 19 ++++++++++++++++++- 1 file changed, 18 insertions(+), 1 deletion(-) diff --git a/.github/workflows/lab2-workflow.yml b/.github/workflows/lab2-workflow.yml index 327ecb1..a62e0e4 100644 --- a/.github/workflows/lab2-workflow.yml +++ b/.github/workflows/lab2-workflow.yml @@ -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" \ No newline at end of file + - run: echo "Exploring Workflow Dispatch Trigger" + job2: + runs-on: ubuntu-latest + steps: + - name: Printing Custom Message + run: | + echo "Custome_Message input: ${{ inputs.custom_message}}" +