From 10004c63fa863a0f9a693891d57db94bdf7dc48c Mon Sep 17 00:00:00 2001 From: githubofkrishnadhas Date: Thu, 7 Dec 2023 20:48:49 +0530 Subject: [PATCH] push --- .github/workflows/start_azure_vm.yml | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/.github/workflows/start_azure_vm.yml b/.github/workflows/start_azure_vm.yml index 29d4c5b..0b8e9f5 100644 --- a/.github/workflows/start_azure_vm.yml +++ b/.github/workflows/start_azure_vm.yml @@ -1,4 +1,4 @@ -name: start azure virtual machine +name: start or stop azure virtual machine run-name: ${{ github.actor }} - ${{ github.events.inputs.action }} VM on: workflow_dispatch: @@ -22,6 +22,10 @@ on: required: true default: "providers/Microsoft.Compute/virtualMachines" type: string - - - + jobs: + start or stop azure virtual machine: + runs-on: ubuntu-latest + steps: + - name: echo inputs + run: | + echo " action ${{github.event.inputs.action}} vmname ${{github.event.inputs.vm_name}} "