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}}" +