From 3d7528268a58fcd022397f2cc9af31c19e755ef4 Mon Sep 17 00:00:00 2001 From: Ayan Date: Tue, 2 Apr 2024 22:25:26 -0500 Subject: [PATCH] . --- .github/workflows/AzPS.yml | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/.github/workflows/AzPS.yml b/.github/workflows/AzPS.yml index dab61cd..ca8fdbb 100644 --- a/.github/workflows/AzPS.yml +++ b/.github/workflows/AzPS.yml @@ -1,4 +1,3 @@ -# File: ./scripts/run_azps_cmdlets.ps1 name: AzurePowerShellScript on: [workflow_dispatch] jobs: @@ -9,9 +8,10 @@ jobs: - name: Check Out uses: actions/checkout@v4 - with: - ref: main # Specify the branch or commit - path: ./3TierApp # Specify the folder path if the script doesn't need the entire repo for execution + #with: #Checkout presents the repo to the Pipeline execution runtime. + # ref: main # Specify the branch or commit + # path: ./3TierApp # Specify the folder path if the script doesn't need the entire repo for execution. + #However, this is presenting the entire repo under a '3TierApp' folder. Verified using 'Get-ChildItem -Recurse' - name: Login Azure uses: azure/login@v2 @@ -22,6 +22,5 @@ jobs: - name: Run Azure PowerShell Script File uses: azure/powershell@v2 with: - inlineScript: | #GetRG.ps1 - Get-ChildItem -Recurse + inlineScript: ./3TierApp/GetRG.ps1 azPSVersion: "latest" \ No newline at end of file